メインコンテンツへスキップ
POST
/
rpc
/
Indexer
/
GetNativeTokenBalance
GetNativeTokenBalance
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/GetNativeTokenBalance \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '
{
  "accountAddress": "<string>"
}
'
{
  "balance": {
    "accountAddress": "<string>",
    "balance": "<string>"
  }
}

承認

X-Access-Key
string
header
必須

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

ボディ

application/json
accountAddress
string

レスポンス

OK

balance
object