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
GetContractInfo
Contract Info — returns contract meta-info for contracts found in registered chain’s token-lists
POST
/
rpc
/
Metadata
/
GetContractInfo
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/GetContractInfo \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainID": "80002",
"contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970"
}'
{
"contractInfo": {
"chainId": 80002,
"address": "0x70a2177079877e4aae639d1abb29ffa537b94970",
"name": "Placeholders",
"type": "ERC721",
"symbol": "",
"logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png",
"deployed": true,
"bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e",
"extensions": {
"link": "",
"description": "Placeholders collection",
"ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png",
"ogName": "Vault for Sales",
"originChainId": 0,
"originAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-22T21:10:39.267327075Z"
}
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Response
200
application/json
OK
[]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/GetContractInfo \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainID": "80002",
"contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970"
}'
{
"contractInfo": {
"chainId": 80002,
"address": "0x70a2177079877e4aae639d1abb29ffa537b94970",
"name": "Placeholders",
"type": "ERC721",
"symbol": "",
"logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png",
"deployed": true,
"bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e",
"extensions": {
"link": "",
"description": "Placeholders collection",
"ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png",
"ogName": "Vault for Sales",
"originChainId": 0,
"originAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-22T21:10:39.267327075Z"
}
}