Endorsements
The following information describes public API end-point for retrieving a list of addresses that have endorsed a RollApp or Liquidity pool. This may be used to incentivize users to endorse a desired RollApp and/or liquidity pool.
Endpoint
GET https://dym.fyi/api?module=dymension&action=endorsing-list
| Parameter | Type | Description |
|---|---|---|
type | string | The type of entity to query. Options: rollapp or pool. |
id | string | The ID of the RollApp or Pool, depending on type. |
page | integer | Page number for pagination. Default is 1. |
size | integer | Number of items per page. Default is 100. |
count-only | boolean | Set to true to return only the total count of records. |
Example
`https://dym.fyi/api?module=dymension&action=endorsing-list&type=rollapp&id=nim_1122-1&page=1&size=100`
{
"status": "1",
"message": "OK",
"result": {
"list": [
{
"a": "dym1tqa2q4xpckjfferc8eff8duagu7rkjsjxdmylkt",
"h": 4999,
"l": 999999999995750000
},
{
"a": "dym1ttqp99cttl24fnewokfqkw7lppvsdhkhdg9hwq3wq",
"h": 1229,
"l": 394884296001529150
},
...
]
}
}
Usage notes
- The
hfield represents the integer portion of the endorsed amount. - The
lfield represents the fractional remainder. - Use
count-only=trueif you only need the total number of endorsements without fetching the full list.