Skip to content

NEARClaimParams

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARClaimParams

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

Parameters for claiming a stealth payment

rpcUrl: string

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

NEAR RPC URL


stealthAddress: StealthAddress

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

Stealth address to claim from


ephemeralPublicKey: `0x${string}`

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

Ephemeral public key from the announcement


viewingPrivateKey: `0x${string}`

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

Viewing private key


spendingPrivateKey: `0x${string}`

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

Spending private key


destinationAccountId: string

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

Destination account ID to receive funds


optional networkId?: "testnet" | "localnet" | "mainnet" | "betanet"

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

Network ID


optional tokenContract?: string

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

Token contract for NEP-141 claims (omit for native NEAR)


optional amount?: bigint

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

Amount to claim (defaults to full balance)


optional gas?: bigint

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

Gas limit