Skip to content

NEARPrivateTransferParams

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / NEARPrivateTransferParams

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

Parameters for sending a private NEAR transfer

rpcUrl: string

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

NEAR RPC URL or connection object


senderAccountId: string

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

Sender’s NEAR account ID


senderPrivateKey: string

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

Sender’s private key for signing


recipientMetaAddress: string

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

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


amount: bigint

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

Amount in yoctoNEAR (for native NEAR)


optional tokenContract: string

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

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


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

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

Network ID (mainnet, testnet, etc.)


optional gas: bigint

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

Gas limit for the transaction