It is used to originate, that is to deploy, smart contracts in the Tezos blockchain.

Hierarchy

Properties

balance: BigNumber

It is mutez - greater than or equal to 0.

balanceUpdates: readonly BalanceUpdate[]
counter: BigNumber

It is an integer greater than or equal to 0.

delegateAddress: null | string
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: AppliedOriginationResult | BacktrackedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    big_map_diff?: readonly ({ readonly key_hash?: string | undefined; readonly key?: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { readonly prim: string; readonly args?: readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 ...)[];
    consumed_gas?: string;
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    lazy_storage_diff?: readonly (({ readonly kind: "big_map"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: readonly { readonly key_hash: string; readonly key: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { ...; } | readonly ({ ...; } |...) | ({ readonly kind: "sapling_state"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: { readonly commitments_and_ciphertexts: readonly (readonly [string, { readonly cv: string; ... 4 more ...; readonly nonce_out: string; }])[]; readonly nullifiers: readonly string[]; } | undefin...))[];
    originated_contracts?: readonly string[];
    paid_storage_size_diff?: string;
    status: OperationResultStatusEnum;
    storage_size?: string;
}> | FailedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    big_map_diff?: readonly ({ readonly key_hash?: string | undefined; readonly key?: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { readonly prim: string; readonly args?: readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 ...)[];
    consumed_gas?: string;
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    lazy_storage_diff?: readonly (({ readonly kind: "big_map"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: readonly { readonly key_hash: string; readonly key: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { ...; } | readonly ({ ...; } |...) | ({ readonly kind: "sapling_state"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: { readonly commitments_and_ciphertexts: readonly (readonly [string, { readonly cv: string; ... 4 more ...; readonly nonce_out: string; }])[]; readonly nullifiers: readonly string[]; } | undefin...))[];
    originated_contracts?: readonly string[];
    paid_storage_size_diff?: string;
    status: OperationResultStatusEnum;
    storage_size?: string;
}> | SkippedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    big_map_diff?: readonly ({ readonly key_hash?: string | undefined; readonly key?: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { readonly prim: string; readonly args?: readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 more ... | readonly ({ ...; } | ... 1 ...)[];
    consumed_gas?: string;
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    lazy_storage_diff?: readonly (({ readonly kind: "big_map"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: readonly { readonly key_hash: string; readonly key: { readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { ...; } | readonly ({ ...; } |...) | ({ readonly kind: "sapling_state"; readonly id: string; readonly diff: { readonly action: DiffActionEnum; readonly updates?: { readonly commitments_and_ciphertexts: readonly (readonly [string, { readonly cv: string; ... 4 more ...; readonly nonce_out: string; }])[]; readonly nullifiers: readonly string[]; } | undefin...))[];
    originated_contracts?: readonly string[];
    paid_storage_size_diff?: string;
    status: OperationResultStatusEnum;
    storage_size?: string;
}>
rpcData: {
    balance: string;
    counter: string;
    delegate?: string;
    fee: string;
    gas_limit: string;
    kind: ORIGINATION;
    metadata: { readonly balance_updates: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 7 more ...; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; }[]; readonly operation_result: { ...; }; readonly internal_operation_results?: read...;
    script?: { readonly code: readonly ({ readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { readonly prim: string; readonly args?: readonly ({ readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | ... | r...;
    source: string;
    storage_limit: string;
}

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

Type declaration

  • Readonly balance: string
  • Readonly counter: string
  • Optional Readonly delegate?: string
  • Readonly fee: string
  • Readonly gas_limit: string
  • Readonly kind: ORIGINATION
  • Readonly metadata: { readonly balance_updates: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 7 more ...; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; }[]; readonly operation_result: { ...; }; readonly internal_operation_results?: read...
  • Optional Readonly script?: { readonly code: readonly ({ readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | { readonly prim: string; readonly args?: readonly ({ readonly int?: string | undefined; readonly string?: string | undefined; readonly bytes?: string | undefined; } | ... | r...
  • 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