NEARStealthBalance
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARStealthBalance
Interface: NEARStealthBalance
Section titled “Interface: NEARStealthBalance”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18371
Balance query result for a stealth account
Properties
Section titled “Properties”accountId
Section titled “accountId”accountId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18373
NEAR implicit account ID
nearBalance
Section titled “nearBalance”nearBalance:
bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18375
Native NEAR balance in yoctoNEAR
tokenBalances
Section titled “tokenBalances”tokenBalances:
Map<string,bigint>
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18377
Token balances (contract -> balance)
exists
Section titled “exists”exists:
boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18379
Whether the account exists on-chain
storageUsed?
Section titled “storageUsed?”
optionalstorageUsed?:bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18381
Storage used by the account