Skip to main content

Interface: GatewayWriteReceipt

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / GatewayWriteReceipt

Interface: GatewayWriteReceipt

Defined in: packages/gala-core-sdk/dist/index.d.ts:2521

What a gateway write returns once GalaChain accepted it (Status: 1).

Properties​

blockNumber​

readonly blockNumber: number | undefined

Defined in: packages/gala-core-sdk/dist/index.d.ts:2533

The block the write landed in, from the gateway's x-block-number header, when it sent one.


body​

readonly body: unknown

Defined in: packages/gala-core-sdk/dist/index.d.ts:2537

The whole parsed answer.


data​

readonly data: unknown

Defined in: packages/gala-core-sdk/dist/index.d.ts:2535

The chain's result: the answer's Data (balances, holds or burns), as GalaChain returned it.


method​

readonly method: "TransferToken" | "BurnTokens" | "LockToken" | "UnlockToken"

Defined in: packages/gala-core-sdk/dist/index.d.ts:2523

The method that was submitted.


transactionId​

readonly transactionId: string | undefined

Defined in: packages/gala-core-sdk/dist/index.d.ts:2531

The chain transaction id: the gateway's x-transaction-id header, else a top-level transactionId of the answer; undefined when it named none. Never guessed from the Data items (a balance's id is not a transaction id).


uniqueKey​

readonly uniqueKey: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2525

The uniqueKey that was signed (the minted one when the caller gave none).