Business
Products
Pricing
Enterprise
AI
Docs
Try for free
Sign in
Go to...
Search
⌘K
Solana
Solana gRPC
Methods
accountSubscribe
accountUnsubscribe
blockSubscribe
blockUnsubscribe
getAccountInfo
getBalance
getBlock
getBlockCommitment
getBlockHeight
getBlockProduction
getBlocks
getBlocksWithLimit
getBlockTime
getClusterNodes
getConfirmedBlock
getConfirmedBlocks
getConfirmedTransaction
getDelegateStakeAccounts
getEpochInfo
getEpochSchedule
getFeeCalculatorForBlockhash
getFeeForMessage
getFees
getFirstAvailableBlock
getGenesisHash
getHealth
getHighestSnapshotSlot
getIdentity
getInflationGovernor
getInflationRate
getInflationReward
getLargestAccounts
getLatestBlockhash
getLeaderSchedule
getMaxRetransmitSlot
getMaxShredInsertSlot
getMinimumBalanceForRentExemption
getMultipleAccounts
getProgramAccounts
getRecentPerformanceSamples
getRecentPrioritizationFees
getSignaturesForAddress
getSignatureStatuses
getSlot
getSlotLeader
getSlotLeaders
getStakeActivation
getStakeMinimumDelegation
getSupply
getTokenAccountBalance
getTokenAccountsByDelegate
getTokenAccountsByOwner
getTokenLargestAccounts
getTokenSupply
getTransaction
getTransactionCount
getVersion
getVoteAccounts
isBlockhashValid
logsSubscribe
logUnsubscribe
minimumLedgerSlot
requestAirdrop
programSubscribe
rootSubscribe
sendTransaction
signatureSubscribe
signatureUnsubscribe
simulateBundle
simulateTransaction
slotSubscribe
slotUnsubscribe
voteSubscribe
Search
⌘K
Solana
Solana gRPC
Methods
accountSubscribe
accountUnsubscribe
blockSubscribe
blockUnsubscribe
getAccountInfo
getBalance
getBlock
getBlockCommitment
getBlockHeight
getBlockProduction
getBlocks
getBlocksWithLimit
getBlockTime
getClusterNodes
getConfirmedBlock
getConfirmedBlocks
getConfirmedTransaction
getDelegateStakeAccounts
getEpochInfo
getEpochSchedule
getFeeCalculatorForBlockhash
getFeeForMessage
getFees
getFirstAvailableBlock
getGenesisHash
getHealth
getHighestSnapshotSlot
getIdentity
getInflationGovernor
getInflationRate
getInflationReward
getLargestAccounts
getLatestBlockhash
getLeaderSchedule
getMaxRetransmitSlot
getMaxShredInsertSlot
getMinimumBalanceForRentExemption
getMultipleAccounts
getProgramAccounts
getRecentPerformanceSamples
getRecentPrioritizationFees
getSignaturesForAddress
getSignatureStatuses
getSlot
getSlotLeader
getSlotLeaders
getStakeActivation
getStakeMinimumDelegation
getSupply
getTokenAccountBalance
getTokenAccountsByDelegate
getTokenAccountsByOwner
getTokenLargestAccounts
getTokenSupply
getTransaction
getTransactionCount
getVersion
getVoteAccounts
isBlockhashValid
logsSubscribe
logUnsubscribe
minimumLedgerSlot
requestAirdrop
programSubscribe
rootSubscribe
sendTransaction
signatureSubscribe
signatureUnsubscribe
simulateBundle
simulateTransaction
slotSubscribe
slotUnsubscribe
voteSubscribe
Docs
·
APIs
·
Web3 RPC API
·
Solana
·
Methods
·
getTokenSupply
getTokenSupply
Use with AI
Returns the total supply of an SPL Token type.
https://api.1inch.com/web3/501
Request
Request
object
jsonrpc
*
string
(Enum)
JSON-RPC version
2.0
method
*
string
The method to call
params
array
Method parameters
items
any
id
*
number
Request ID
JavaScript
Copy
Try it
1
Response
Token Supply Response
Token Supply Response
object
context
*
object
slot
*
integer
The slot this response corresponds to
apiVersion
string
The current solana versions running on the node
additionalProperties
none
value
*
object
amount
*
string
Total token supply as string
decimals
*
integer
Number of decimal places
uiAmount
*
any
oneOf[0]
null
oneOf[1]
number
Formatted token supply
uiAmountString
*
string
Formatted token supply as string
additionalProperties
none
additionalProperties
none
JSON
Copy
1
getTokenLargestAccounts
getTransaction
Did you find what you need?
Yes
No