Coins
Endpoints related to UDT type
Get Coins
Included in: Basic, Pro
GET {INDEXER_API}/udt/list
Returns ordered list of coins with detailed information about them.
Sample query:
$ curl --location '{INDEXER_API}/udt/list?limit=10&offset=0&udt_type=0' \
--header 'x-api-key: {YOUR X-API-KEY}'Query Parameters
Name
Type
Description
udt_type
uint
0 (default): sudt 1: xudt
limit
uint
limit >= 0
offset
uint
offset >= 0
keyword
string
search text
[
{
"udt_info": {
"decimal": 8,
"name": "Seal",
"symbol": "Seal"
},
"udt_type": 1,
"type_script": {
"code_hash": "5e7a36a77e68eecc013dfa2fe6a23f3b6c344b04005808694ae6dd45eea4cfd5",
"args": "2ae639d6233f9b15545573b8e78f38ff7aa6c7bf8ef6460bf1f12d0a76c09c4e",
"hash_type": "type",
"script_hash": "4d7ec281d0b2327dbc0fe9e3bf7fc2f7f81824ad7b75863770638b6dc704b13f"
},
"total_supply": "10000000",
"total_holders": 5
},
...
]"Rate limit exceeded. Try again later"Get Live Cells
Included in: Basic, Pro
GET {INDEXER_API}/udt/outputs
Returns ordered live cells.
Sample query:
Query Parameters
Name
Type
Description
limit
uint
limit >= 0
offset
uint
offset >= 0
address
string
the CKB address
Last updated