Skip to content

ZcashNativeBackend

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / ZcashNativeBackend

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5899

Zcash Native Settlement Backend

Handles ZEC → ZEC transfers within the Zcash network. Supports both transparent (t-addr) and shielded (z-addr) addresses.

new ZcashNativeBackend(config): ZcashNativeBackend

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5906

ZcashNativeBackendConfig

ZcashNativeBackend

readonly name: "zcash-native"

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5900

Backend name (e.g., ‘near-intents’, ‘zcash’, ‘thorchain’)

SettlementBackend.name


readonly capabilities: BackendCapabilities

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5901

Backend capabilities

SettlementBackend.capabilities

getQuote(params): Promise<SettlementQuote>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5910

Get a quote for ZEC → ZEC transfer

SettlementQuoteParams

Promise<SettlementQuote>

SettlementBackend.getQuote


getDryQuote(params): Promise<SettlementQuote>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5914

Get a dry quote (preview without creating deposit address)

SettlementQuoteParams

Promise<SettlementQuote>

SettlementBackend.getDryQuote


executeSwap(params): Promise<SettlementSwapResult>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5918

Execute a ZEC → ZEC swap/transfer

SettlementSwapParams

Promise<SettlementSwapResult>

SettlementBackend.executeSwap


getStatus(swapId): Promise<SwapStatusResponse>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5922

Get swap status

string

Promise<SwapStatusResponse>

SettlementBackend.getStatus


waitForCompletion(swapId, options?): Promise<SwapStatusResponse>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5926

Wait for swap completion

string

number

number

(status) => void

Promise<SwapStatusResponse>

SettlementBackend.waitForCompletion


notifyDeposit(swapId, txHash, metadata?): Promise<void>

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:5934

Notify backend of deposit

string

string

Record<string, unknown>

Promise<void>

SettlementBackend.notifyDeposit