Format: ${sort_column}[.asc | .desc]. Specifies the sorting method. Valid sort_column values: created_time, addresses_count,transactions. Example: created_time.desc for ascending order based on block timestamp Default: id.desc (sorting by id in descending order) if the parameter is empty.
Example:
created_time.asc
page
integer
optional
Page
Example:
1
page_size
integer
optional
How many udts are displayed per page
Example:
10
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?sort=created_time.asc&page=1&page_size=10' \
--header'Accept: application/vnd.api+json' \
--header'Content-Type: application/vnd.api+json'