Skip to content

NEARPrivateTransferParams

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / NEARPrivateTransferParams

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

Parameters for sending a private NEAR transfer

rpcUrl: string

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

NEAR RPC URL or connection object


senderAccountId: string

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

Sender’s NEAR account ID


senderPrivateKey: string

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

Sender’s private key for signing


recipientMetaAddress: string

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

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


amount: bigint

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

Amount in yoctoNEAR (for native NEAR)


optional tokenContract?: string

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

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


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

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

Network ID (mainnet, testnet, etc.)


optional gas?: bigint

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

Gas limit for the transaction