Skip to content

NEARPrivateTransferParams

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / NEARPrivateTransferParams

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18200

Parameters for sending a private NEAR transfer

rpcUrl: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18202

NEAR RPC URL or connection object


senderAccountId: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18204

Sender’s NEAR account ID


senderPrivateKey: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18206

Sender’s private key for signing


recipientMetaAddress: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18208

Recipient’s stealth meta-address (or encoded string)


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18210

Amount in yoctoNEAR (for native NEAR)


optional tokenContract?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18212

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


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

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18214

Network ID (mainnet, testnet, etc.)


optional gas?: bigint

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:18216

Gas limit for the transaction