Skip to content

ZcashNativeBackend

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / ZcashNativeBackend

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5836

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-BYZbDjal.d.ts:5843

ZcashNativeBackendConfig

ZcashNativeBackend

readonly name: "zcash-native"

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5837

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

SettlementBackend.name


readonly capabilities: BackendCapabilities

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5838

Backend capabilities

SettlementBackend.capabilities

getQuote(params): Promise<SettlementQuote>

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5847

Get a quote for ZEC → ZEC transfer

SettlementQuoteParams

Promise<SettlementQuote>

SettlementBackend.getQuote


getDryQuote(params): Promise<SettlementQuote>

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5851

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-BYZbDjal.d.ts:5855

Execute a ZEC → ZEC swap/transfer

SettlementSwapParams

Promise<SettlementSwapResult>

SettlementBackend.executeSwap


getStatus(swapId): Promise<SwapStatusResponse>

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5859

Get swap status

string

Promise<SwapStatusResponse>

SettlementBackend.getStatus


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

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5863

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-BYZbDjal.d.ts:5871

Notify backend of deposit

string

string

Record<string, unknown>

Promise<void>

SettlementBackend.notifyDeposit