NEARPrivateTransferParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARPrivateTransferParams
Interface: NEARPrivateTransferParams
Section titled “Interface: NEARPrivateTransferParams”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17900
Parameters for sending a private NEAR transfer
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17902
NEAR RPC URL or connection object
senderAccountId
Section titled “senderAccountId”senderAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17904
Sender’s NEAR account ID
senderPrivateKey
Section titled “senderPrivateKey”senderPrivateKey:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17906
Sender’s private key for signing
recipientMetaAddress
Section titled “recipientMetaAddress”recipientMetaAddress:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17908
Recipient’s stealth meta-address (or encoded string)
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17910
Amount in yoctoNEAR (for native NEAR)
tokenContract?
Section titled “tokenContract?”
optionaltokenContract:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17912
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-DXh2IGkz.d.ts:17914
Network ID (mainnet, testnet, etc.)
optionalgas:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17916
Gas limit for the transaction