Skip to content

NEARClaimParams

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / NEARClaimParams

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17995

Parameters for claiming a stealth payment

rpcUrl: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17997

NEAR RPC URL


stealthAddress: StealthAddress

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17999

Stealth address to claim from


ephemeralPublicKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18001

Ephemeral public key from the announcement


viewingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18003

Viewing private key


spendingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18005

Spending private key


destinationAccountId: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18007

Destination account ID to receive funds


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

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18009

Network ID


optional tokenContract: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18011

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


optional amount: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18013

Amount to claim (defaults to full balance)


optional gas: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18015

Gas limit