Skip to content

ZcashSwapResult

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / ZcashSwapResult

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8982

Swap execution result

requestId: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8984

Swap request ID


quoteId: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8986

Quote used


status: ZcashSwapStatus

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8988

Current status


optional sourceTxHash?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8990

Source chain transaction hash (deposit tx)


optional zcashTxId?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8992

Zcash transaction ID (if completed)


amountIn: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8994

Amount deposited


optional amountOut?: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8996

Amount received in ZEC (zatoshis)


recipientZAddress: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:8998

Recipient z-address


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:9000

Timestamp


optional error?: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:9002

Error message if failed