CKB Explorer English
  1. v1
CKB Explorer English
  • v1
    • Statistics
      • Statistic Info Charts
      • Daily Statistics
      • Block Statistics
      • Epoch Statistics
      • Statistics
      • Tip Block Number
    • Block List
      GET
    • Block by number or hash
      GET
    • Address
      GET
    • Transaction
      GET
    • Transaction List
      GET
    • UDT List
      GET
    • UDT
      GET
    • Udt Transaction List
      GET
    • Block Transaction List
      GET
    • Address Transaction List
      GET
    • Contract Transaction List
      GET
  • v2
    • NFT
      • NFT Hodlers List
      • NFT Collection List
      • NFT Collection
      • NFT Item
      • NFT Item List
      • NFT Transfer List
    • CoTA
      • Issuer of CoTA
      • CoTA NFT Class
      • Sender of CoTA NFT Item
      • Claim Status
      • Minted CoTA NFT Class by a specific issuer
      • CoTA Transaction List
    • Cell List
      GET
    • Live Cell List
      GET
    • Bit Accounts
      POST
    • Bit Accounts Copy
      POST
    • DAO Events of an address
      GET
    • Transactions referring to a specific script
      GET
    • Referring cells of a script
      GET
    • Deployed cells of a script
      GET
    • Script Info
      GET
    • Miner Versions Distribution
      GET
    • Pending Transaction List
      GET
    • Transaction Fees
      GET
  1. v1

UDT

GET
/udts/{id}
Obtain UDT details
Chinese version: https://www.apifox.cn/web/project/962207

Request

Path Params
id
string 
required
TypeHash of UDT
Example:
0xf05c0f1cff924afcfb19b4268e4faf883dcb071bce7f8b1fb602da81c4ecafc5
Header Params
Accept
string 
optional
Example:
application/vnd.api+json
Content-Type
string 
optional
Example:
application/vnd.api+json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mainnet-api.explorer.nervos.org/api/v1/udts/0xf05c0f1cff924afcfb19b4268e4faf883dcb071bce7f8b1fb602da81c4ecafc5' \
--header 'Accept: application/vnd.api+json' \
--header 'Content-Type: application/vnd.api+json'

Responses

🟢200Success
application/json
Body
data
object 
required
id
string 
required
type
string 
required
attributes
object 
required
Example
{
  "data": {
    "id": "string",
    "type": "string",
    "attributes": {
      "symbol": null,
      "full_name": "string",
      "icon_file": "string",
      "published": true,
      "description": null,
      "type_hash": "string",
      "type_script": {
        "args": "string",
        "code_hash": "string",
        "hash_type": "string"
      },
      "issuer_address": null,
      "display_name": null,
      "uan": null,
      "total_amount": "string",
      "addresses_count": "string",
      "decimal": "string",
      "h24_ckb_transactions_count": "string",
      "created_at": "string"
    }
  }
}
Modified at 2023-02-27 08:04:36
Previous
UDT List
Next
Udt Transaction List
Built with