rpc GetSupply
GetSupply
participant.v1.GetSupplyRequest
participant.v1.GetSupplyRequest
Get a list of denomination counts of the digital banknotes held in the Treasury service's vault.
requests GetSupplyRequest
GetSupplyRequest
participant.v1.GetSupplyRequest
participant.v1.GetSupplyRequest
returns GetSupplyResponse
GetSupplyResponse
participant.v1.GetSupplyResponse
participant.v1.GetSupplyResponse
Field | Type | Description |
---|---|---|
supply repeated | DenominationCount | A list of denomination counts of the digital banknotes held in supply. |
total | Amount | grand total sum of all promissories |
{
"supply": [
{
"denomination": {
"asset_code": "USD",
"amount": 2000,
"decimals": 2
},
"count": 5,
"total": {
"asset_code": "USD",
"amount": 10000,
"decimals": 2
}
},
{
"denomination": {
"asset_code": "USD",
"amount": 1000,
"decimals": 2
},
"count": 5,
"total": {
"asset_code": "USD",
"amount": 5000,
"decimals": 2
}
}
],
"total": {
"asset_code": "USD",
"amount": 15000,
"decimals": 2
}
}