Skip to main content

Interface: AppliedTrade

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / AppliedTrade

Interface: AppliedTrade

Defined in: packages/gswap-sdk/dist/index.d.ts:189

Terminal outcome of a queued RequestTrade, read from apply-results.

Properties​

blockNumber​

blockNumber: number | null

Defined in: packages/gswap-sdk/dist/index.d.ts:194

Block of the ApplyRequests transaction (x-apply-block-number), when reported.


requestTransactionId​

requestTransactionId: string | null

Defined in: packages/gswap-sdk/dist/index.d.ts:196

The RequestTrade transaction that queued it, when the gateway reported one.


result​

result: TradeExecution

Defined in: packages/gswap-sdk/dist/index.d.ts:197


transactionId​

transactionId: string | null

Defined in: packages/gswap-sdk/dist/index.d.ts:192

The ApplyRequests transaction that executed the trade (x-apply-transaction-id), when reported.


uniqueKey​

uniqueKey: string

Defined in: packages/gswap-sdk/dist/index.d.ts:190