You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The total balance of all wallets containing the given coin type. May lose precision for large values.
48548
+
confirmedBalance:
48549
+
type: number
48550
+
description: The total balance of confirmed transactions for all wallets containing the given coin type. May lose precision for large values.
48551
+
spendableBalance:
48552
+
type: number
48553
+
description: The total balance of all wallets containing the given coin which may be used as inputs for creating new transactions. May lose precision for large values.
48554
+
stakedBalance:
48555
+
type: number
48556
+
description: The total balance of all wallets containing the given coin which has been staked. May lose precision for large values.
48557
+
stakedBalanceString:
48558
+
type: string
48559
+
description: String representation of 'stakedBalance'. Guaranteed to not lose precision.
48560
+
tokens:
48561
+
allOf:
48562
+
- $ref: '#/components/schemas/tokenBalances'
48563
+
description: Object of key value pairs where the keys are the token symbols (e.g. omg) and the values are the balance data for that token symbol.
48564
+
unsupportedTokens:
48565
+
allOf:
48566
+
- $ref: '#/components/schemas/tokenBalances'
48567
+
description: Object of key value pairs where the keys are the unsupported token contracts (e.g. 0x9928e4046d7c6513326ccea028cd3e7a91c7590a) and the values are the balance data for that token contract. UnsupportedTokens will only be returned for wallets that supports Metamask Institutional and has enableMMI flag turned on
48568
+
required:
48569
+
- balance
48570
+
- confirmedBalance
48571
+
- spendableBalance
48572
+
- $ref: '#/components/schemas/baseBalanceStrings'
48573
+
baseBalanceStrings:
48574
+
title: baseBalanceStrings
48575
+
type: object
48576
+
properties:
48577
+
balanceString:
48578
+
type: string
48579
+
description: String representation of the total balance of all wallets containing the given coin type. Guaranteed to not lose precision.
48580
+
confirmedBalanceString:
48581
+
type: string
48582
+
description: String representation of the total balance of confirmed transactions for all wallets containing the given coin type. Guaranteed to not lose precision.
48583
+
spendableBalanceString:
48584
+
type: string
48585
+
description: String representation of the total balance of all wallets containing the given coin which may be used as inputs for creating new transactions. Guaranteed to not lose precision.
48586
+
required:
48587
+
- balanceString
48588
+
- confirmedBalanceString
48589
+
- spendableBalanceString
48590
+
tokenBalances:
48591
+
title: tokenBalances
48592
+
type: object
48593
+
additionalProperties:
48594
+
allOf:
48595
+
- type: object
48596
+
properties:
48597
+
transferCount:
48598
+
type: number
48599
+
description: Number of transfers for the token.
48600
+
heldBalanceString:
48601
+
type: string
48602
+
description: The difference between the balanceString and the spendableBalanceString.
48603
+
required:
48604
+
- transferCount
48605
+
- $ref: '#/components/schemas/baseBalanceStrings'
48606
+
GetWalletBalanceResponse:
48607
+
title: GetWalletBalanceResponse
48608
+
type: object
48609
+
properties:
48610
+
balances:
48611
+
type: array
48612
+
items:
48613
+
type: object
48614
+
properties:
48615
+
coin:
48616
+
allOf:
48617
+
- $ref: '#/components/schemas/CoinNonEmptyString'
48618
+
description: A cryptocurrency or token ticker symbol.
48619
+
balanceString:
48620
+
type: string
48621
+
description: String representation of the balance in base units. Guaranteed to not lose precision.
48622
+
confirmedBalanceString:
48623
+
type: string
48624
+
description: String representation of the confirmed balance in base units. Guaranteed to not lose precision.
48625
+
spendableBalanceString:
48626
+
type: string
48627
+
description: String representation of the spendable in base units. Guaranteed to not lose precision. Will not be included if 'excludeSpendableBalances=false'
0 commit comments