NEARPrivateTransferParams
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARPrivateTransferParams
Interface: NEARPrivateTransferParams
Section titled “Interface: NEARPrivateTransferParams”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18236
Parameters for sending a private NEAR transfer
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18238
NEAR RPC URL or connection object
senderAccountId
Section titled “senderAccountId”senderAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18240
Sender’s NEAR account ID
senderPrivateKey
Section titled “senderPrivateKey”senderPrivateKey:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18242
Sender’s private key for signing
recipientMetaAddress
Section titled “recipientMetaAddress”recipientMetaAddress:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18244
Recipient’s stealth meta-address (or encoded string)
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18246
Amount in yoctoNEAR (for native NEAR)
tokenContract?
Section titled “tokenContract?”
optionaltokenContract?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18248
Token contract for NEP-141 transfers (omit for native NEAR)
networkId?
Section titled “networkId?”
optionalnetworkId?:"testnet"|"localnet"|"mainnet"|"betanet"
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18250
Network ID (mainnet, testnet, etc.)
optionalgas?:bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18252
Gas limit for the transaction