Get paginated tokens filtered by name.
GET/:network/tokens/by-name
Get paginated tokens filtered by name.
Request
Path Parameters
Blockchain network name or chain id
Query Parameters
Name of the token
Page number for pagination
Number of tokens per page, Max 100 per page
Responses
- 200
- 400
- 404
Paginated tokens filtered by name.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Blockchain network name For the requested query
The chain ID of the network.
The current page number
The number of tokens returned per page
The total number of Tokens.
The total number of pages for the requested range
Link to the next page of tokens
Link to the previous page of tokens
tokens
object[]
required
The list of tokens for the current page
Token contract address in hexadecimal format
Block number at the time of token creation
Type of the token (e.g., ERC20, ERC721, ERC777, ERC1155)
Token name (required for all token types)
Token symbol (required for all token types)
Number of decimals for ERC20 tokens
Granularity for ERC777 tokens
{
"network_name": "eth-mainnet",
"chain_id": 1,
"page": 1,
"limit": 10,
"total_results": 100,
"total_pages": 10,
"next": "https://api.histori.xyz/v1/eth-mainnet/tokens?page=2&limit=10",
"previous": "https://api.histori.xyz/v1/eth-mainnet/tokens?page=1&limit=10",
"tokens": [
{
"token_address": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"block_height": 123456,
"token_type": "ERC20",
"name": "My Token",
"symbol": "MTK",
"decimals": 18,
"granularity": "1"
}
]
}
Invalid request parameters.
No tokens found with the given name.