Interface SmartRollupPublishOperationExperimental

It is used to regularly declare what is the new state of a given smart rollup in a so-called commitment. To publish commitments, an implicit account has to own at least ꜩ 10,000, which are frozen as long as at least one of their commitments is disputable.

Hierarchy

Properties

balanceUpdates: readonly BalanceUpdate[]
counter: BigNumber

It is an integer greater than or equal to 0.

fee: BigNumber

It is mutez - greater than or equal to 0.

gasLimit: BigNumber

It is an integer greater than or equal to 0.

internalOperations: readonly InternalOperation[]
isInternal: false

Usable for narrowing the type of this object from the union with internal operations.

result: AppliedSmartRollupPublishResult | BacktrackedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    published_at_level?: number;
    staked_hash?: string;
    status: OperationResultStatusEnum;
}> | FailedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    published_at_level?: number;
    staked_hash?: string;
    status: OperationResultStatusEnum;
}> | SkippedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    published_at_level?: number;
    staked_hash?: string;
    status: OperationResultStatusEnum;
}>
rollup: SmartRollup
rpcData: {
    commitment: { readonly compressed_state: string; readonly inbox_level: number; readonly predecessor: string; readonly number_of_ticks: string; };
    counter: string;
    fee: string;
    gas_limit: string;
    kind: SMART_ROLLUP_PUBLISH;
    metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; }[] | undefined; readonly opera...;
    rollup: string;
    source: string;
    storage_limit: string;
}

Raw data as received from Tezos Node RPC. Taquito interface may not be exact.

Type declaration

  • Readonly commitment: { readonly compressed_state: string; readonly inbox_level: number; readonly predecessor: string; readonly number_of_ticks: string; }
  • Readonly counter: string
  • Readonly fee: string
  • Readonly gas_limit: string
  • Readonly kind: SMART_ROLLUP_PUBLISH
  • Readonly metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delayed_operation_hash?: string | undefined; }[] | undefined; readonly opera...
  • Readonly rollup: string
  • Readonly source: string
  • Readonly storage_limit: string
sourceAddress: string
storageLimit: BigNumber

It is an integer greater than or equal to 0.

uid: string

Universal ID of the entity on the blockchain. It is still human-readable.

Example

Block hash / operation group hash / operation index [ operation kind ]

BLvgirK7K43H5tv8f73cxBaLwcU7euFNwmfr2td2sWKpKXQXxaM/opLpKECfrpuF79YLfSYABvxb8Df8Fh71n3Q8Azy1m8vWU8Czfcn/4[transaction]

Generated using TypeDoc