Bank
The query distribution module focuses on managing account balances and monitoring the coin supply.
Query a Balance
To query an account balance, use the following command:
sentinelhub query bank balances \
<account_address> \
--node https://rpc.sentinel.co:443
Example Output
Growth DAO Address
balances:
- amount: "12002"
denom: ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8
- amount: "339645"
denom: ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783
- amount: "1301"
denom: ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518
- amount: "12660890169349"
denom: udvpn
pagination:
next_key: null
total: "0"
Query the Client Metadata
Query the client metadata for all the registered coin denominations
sentinelhub query bank denom-metadata \
--node https://rpc.sentinel.co:443
Example Output
metadatas:
- base: udvpn
denom_units:
- aliases: []
denom: dvpn
exponent: 6
- aliases:
- millidvpn
denom: mdvpn
exponent: 3
- aliases:
- microdvpn
denom: udvpn
exponent: 0
description: The native staking token of the Sentinel Hub.
display: dvpn
name: ""
symbol: ""
pagination:
next_key: null
total: "1"
Query the Total Supply of Coins
Query total supply of coins that are held by accounts in the chain.
sentinelhub query bank total \
--node https://rpc.sentinel.co:443
Example Output
pagination:
next_key: null
total: "0"
supply:
- amount: "615115523"
denom: ibc/07DEC6CF7D63C08D4AB532A5D845C6F9AAF41908BCD1270A3B389EAC77259B32
- amount: "100000000"
denom: ibc/0969C46814761844499EE2BF0C438302345EA3546346AC9B8ECD1227C07E0692
- amount: "186921"
denom: ibc/1A09D79819407F87DD64E884E5B46349E4A5191A0A9BCBFE1D9B425F4D273CFE
- amount: "2619600"
denom: ibc/2915CCA550DA6840CB2D4F5BC95A067A7924A767B2EBEB3227DD66124AA8A626
- amount: "100000"
denom: ibc/2A94F04EAE6CE401046D722D8400FDA6F47405FAFEDF086C944F5AC39E6DF698
- amount: "232173302"
denom: ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8
- amount: "1000000000000"
denom: ibc/3561B707708A9F87C3A25593589A0492063D4D4104F6C3FAF28147D23CA65493
- amount: "3140000000000000000"
denom: ibc/4397836C03F272752E3451DF5E18E52A0A7BFD978ADACB98D8C28F9D56657AED
- amount: "11010080000000000000"
denom: ibc/4540773B0B2F62935EB4329B91F6D256F29A2F9FFD119D3B25C54513477751A7
- amount: "10000000000000"
denom: ibc/4D0175AE9EE3AF4AA736C8601AC227ECE59B3D8652D0696316B8B61DACA7D372
- amount: "67101"
denom: ibc/4FA1CB3BB95973D2E88498BA78DA9B732E372CC9EC53FC8EBB04A5994C69B39C
- amount: "2000000"
denom: ibc/5676A4BF80ECED46E0E3B82D379B9FAE57EA19FDB2906720C42D7BEC980878E8
- amount: "1000002"
denom: ibc/5E30D66B45DBC8B4DD1A191DABD033E77FA8733271091E14AECC137DC161FFA0
- amount: "1000000000000000000"
denom: ibc/636D2FE7AA5A0AF7B864E6E542599F82B431DC90B3CAD701EDC1790256B50B79
- amount: "10000000"
denom: ibc/662B1212D31C7251943973D7969F5B076EA251F3791FCE76B6A2A122EE82E582
- amount: "30100000"
denom: ibc/6B0F37D98E7A52CDDAAD5E1EF08E50A233CF1B3D130A40FF57BAFF3273FB84DF
- amount: "100"
denom: ibc/6C04DB17D953124B76B4DCADDB103DC000B835B1F7DE60709CD2DB3D1A5E3252
- amount: "1020000"
denom: ibc/6CDD4663F2F09CD62285E2D45891FC149A3568E316CE3EBBE201A71A78A69388
- amount: "9034567156"
denom: ibc/7103D3DFF77824C47AB5306B68F46EF244D042FD99E872ADEE93B06699ED3E54
- amount: "40000000"
denom: ibc/7964F196E3F96B15675F6A6FBF1878B16B30FBB46F6DDD2543CC24A489528B19
- amount: "1000000"
denom: ibc/79A757A82C5B387B1E99410D6D153C738EC240896FB5B9315DACAA2157A94C83
- amount: "100000"
denom: ibc/98FF2F49F25A44E724DB3E4E7521F7899449D2211CA7E557EEBCA38B8E59153F
- amount: "105000000"
denom: ibc/A85ACA68D4EBB931256F86A5360F93CAA4B9102F39FED10CC3A7C57328D4AD34
- amount: "21512942"
denom: ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477
- amount: "85853638730"
denom: ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783
- amount: "120811"
denom: ibc/BBD0969C1FB209ECB4E90531D8C5118C8A0059C2C1ADDA781E626F733172848E
- amount: "1000000"
denom: ibc/C6FB13D55E3A02DD6EC4348DE32124138812FDAE0EC4D7586B2FD51E8C3407D7
- amount: "1647596895"
denom: ibc/CFC3F79D1E0CBBAF2C63A14C97434AFC532F5194C7F4A4FAC11E66C93C67591E
- amount: "397"
denom: ibc/D722F048B816E0E36F20D9CF82CF3C4707DCE37F47583A6DA7829A69EF5175F4
- amount: "3"
denom: ibc/EC801D234CDE9C0459AD36D5EF85F12F7FC61F64CFC7BECB8213AC05153EE9C5
- amount: "8783293"
denom: ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518
- amount: "126"
denom: ibc/F7E92EE59B5428793F3EF5C1A4CB2494F61A9D0C9A69469D02390714A1372E16
- amount: "2000000000000000"
denom: ibc/FFF2CF1523E2E2C97C80A92E33C3A4A343B4B512C96BCB519C15FE08E5828484
- amount: "26199642894271064"
denom: udvpn