Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- public
- POSTDirectoryGetCollections
- POSTDirectoryGetNetworks
- POSTEnqueueTokensForRefresh
- POSTGetContractInfoBatch
- POSTGetContractInfo
- POSTGetTokenMetadataBatch
- POSTGetTokenMetadata
- POSTRefreshTokenMetadata
- POSTSearchContractInfoBatch
- POSTSearchContractInfo
- POSTSearchTokenIDs
- POSTSearchTokenMetadata
- POSTSearchTokens
- POSTTokenCollectionFilters
- POSTRefreshAllContractTokens
- POSTRefreshContractInfo
- POSTRefreshContractTokens
- POSTSearchContracts
- POSTSearchMetadata
- POST
- secret
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
public
SearchMetadata
This Endpoint is Deprecated!
POST
/
rpc
/
Metadata
/
SearchMetadata
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/SearchMetadata \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": "<string>",
"chainID": "<string>",
"types": [
"UNKNOWN"
],
"excludeTokenMetadata": true
}'
{
"tokenMetadata": [
{
"tokenId": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"video": "<string>",
"audio": "<string>",
"properties": {},
"attributes": [
{}
],
"imageData": "<string>",
"externalUrl": "<string>",
"backgroundColor": "<string>",
"animationUrl": "<string>",
"decimals": 123,
"updatedAt": "<string>",
"assets": [
{
"id": 123,
"collectionId": 123,
"tokenId": "<string>",
"url": "<string>",
"metadataField": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
],
"status": "NOT_AVAILABLE",
"queuedAt": "<string>",
"lastFetched": "<string>"
}
],
"contractInfo": [
{
"chainId": 123,
"address": "<string>",
"name": "<string>",
"type": "<string>",
"symbol": "<string>",
"decimals": 123,
"logoURI": "<string>",
"deployed": true,
"bytecodeHash": "<string>",
"extensions": {
"link": "<string>",
"description": "<string>",
"categories": [
"<string>"
],
"ogImage": "<string>",
"ogName": "<string>",
"originChainId": 123,
"originAddress": "<string>",
"blacklist": true,
"verified": true,
"verifiedBy": "<string>",
"featured": true
},
"contentHash": 123,
"updatedAt": "<string>",
"notFound": true,
"queuedAt": "<string>",
"status": "NOT_AVAILABLE"
}
]
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
[]ContractType
Represented as uint16 on the server side
Available options:
UNKNOWN
, ERC20
, ERC721
, ERC1155
Response
200
application/json
OK
[]TokenMetadata
Represented as uint32 on the server side
Available options:
NOT_AVAILABLE
, STALE
, AVAILABLE
[]Asset
[]ContractInfo
[]string
Represented as uint32 on the server side
Available options:
NOT_AVAILABLE
, STALE
, AVAILABLE
Was this page helpful?
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/SearchMetadata \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": "<string>",
"chainID": "<string>",
"types": [
"UNKNOWN"
],
"excludeTokenMetadata": true
}'
{
"tokenMetadata": [
{
"tokenId": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"video": "<string>",
"audio": "<string>",
"properties": {},
"attributes": [
{}
],
"imageData": "<string>",
"externalUrl": "<string>",
"backgroundColor": "<string>",
"animationUrl": "<string>",
"decimals": 123,
"updatedAt": "<string>",
"assets": [
{
"id": 123,
"collectionId": 123,
"tokenId": "<string>",
"url": "<string>",
"metadataField": "<string>",
"filename": "<string>",
"filesize": 123,
"mimeType": "<string>",
"width": 123,
"height": 123,
"updatedAt": "<string>"
}
],
"status": "NOT_AVAILABLE",
"queuedAt": "<string>",
"lastFetched": "<string>"
}
],
"contractInfo": [
{
"chainId": 123,
"address": "<string>",
"name": "<string>",
"type": "<string>",
"symbol": "<string>",
"decimals": 123,
"logoURI": "<string>",
"deployed": true,
"bytecodeHash": "<string>",
"extensions": {
"link": "<string>",
"description": "<string>",
"categories": [
"<string>"
],
"ogImage": "<string>",
"ogName": "<string>",
"originChainId": 123,
"originAddress": "<string>",
"blacklist": true,
"verified": true,
"verifiedBy": "<string>",
"featured": true
},
"contentHash": 123,
"updatedAt": "<string>",
"notFound": true,
"queuedAt": "<string>",
"status": "NOT_AVAILABLE"
}
]
}