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