For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get supported asset list

Delegated Contract Mode will be deprecated soon; new partners should use Managed Custody Mode. Returns the token list configured for the partner, including contract addresses, on-chain decimals, and display decimals, synchronized with the on-chain chain contract config.

get
/v1/tokens
Authorizations
X-Api-SignaturestringRequired

Partner Auth: EIP-191 signature by the partner's registered backend key, with X-Api-Deadline and optional X-Api-PublicKey headers. See the Signature and verify guide.

Header parameters
X-Api-SignaturestringRequired

Partner's EIP-191 signature (0x-prefixed hex).

X-Api-DeadlinestringRequired

Unix seconds when the request signature expires (within 5 minutes).

X-Api-PublicKeystringOptional

Partner's signer Ethereum address.

Responses
200

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

application/json

Standard response envelope for the partner API (openapi.ur.app).

codeinteger · int64Required

0 on success; non-zero indicates a business rejection.

messagestringRequired

Human-readable diagnostic; empty on success.

dataanyOptional

Business payload. Shape depends on the endpoint.

get/v1/tokens
GET /v1/tokens HTTP/1.1
Host: openapi.ur.app
X-Api-Signature: text
X-Api-Deadline: text
Accept: */*
200

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

{
  "code": 0,
  "message": "",
  "data": [
    {
      "symbol": "USD",
      "name": "USD24",
      "address": "0xdf79470986629ae4893BfCE0c6C0F4d085E99741",
      "decimals": 2,
      "displayDecimals": 2,
      "isFiat": true
    }
  ]
}

Last updated