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
GetContractInfoBatch
POST
/
rpc
/
Metadata
/
GetContractInfoBatch
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/GetContractInfoBatch \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainID": "80002",
"contractAddresses": [
"0x33c7848db3d37103718736d233f0db65cc222b1e",
"0x70a2177071177e4aae639d1abb23ffa537b94970"
]
}'
{
"contractInfoMap": {
"0x33c7848db3d37103718736d233f0db65cc222b1e": {
"chainId": 80002,
"address": "0x33c7848db3d37103718736d233f0db65cc222b1e",
"name": "Knives",
"type": "ERC1155",
"symbol": "",
"logoURI": "https://metadata.sequence.app/projects/35598/collections/827/image.png",
"deployed": true,
"bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e",
"extensions": {
"link": "https://baseurl/collections/collectioname",
"description": "All knives from Alternates can be found in this category.",
"ogImage": "https://metadata.sequence.app/projects/35598/collections/827/image.png",
"ogName": "Knives",
"originChainId": 0,
"originAddress": "0x33c7848db3d37103718736d233f0db65cc222b1e",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-23T06:12:24.243404151Z"
},
"0x70a2177071177e4aae639d1abb23ffa537b94970": {
"chainId": 80002,
"address": "0x70a2177071177e4aae639d1abb23ffa537b94970",
"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": "0x70a2177071177e4aae639d1abb23ffa537b94970",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-23T05:53:19.171080211Z"
}
}
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Response
200
application/json
OK
map<string,ContractInfo>
[]string
Represented as uint32 on the server side
Available options:
NOT_AVAILABLE
, STALE
, AVAILABLE
[]byte
Represented as uint8 on the server side
Available options:
QUEUED
, PAUSED
, FAILED
, COMPLETED
Was this page helpful?
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/GetContractInfoBatch \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainID": "80002",
"contractAddresses": [
"0x33c7848db3d37103718736d233f0db65cc222b1e",
"0x70a2177071177e4aae639d1abb23ffa537b94970"
]
}'
{
"contractInfoMap": {
"0x33c7848db3d37103718736d233f0db65cc222b1e": {
"chainId": 80002,
"address": "0x33c7848db3d37103718736d233f0db65cc222b1e",
"name": "Knives",
"type": "ERC1155",
"symbol": "",
"logoURI": "https://metadata.sequence.app/projects/35598/collections/827/image.png",
"deployed": true,
"bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e",
"extensions": {
"link": "https://baseurl/collections/collectioname",
"description": "All knives from Alternates can be found in this category.",
"ogImage": "https://metadata.sequence.app/projects/35598/collections/827/image.png",
"ogName": "Knives",
"originChainId": 0,
"originAddress": "0x33c7848db3d37103718736d233f0db65cc222b1e",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-23T06:12:24.243404151Z"
},
"0x70a2177071177e4aae639d1abb23ffa537b94970": {
"chainId": 80002,
"address": "0x70a2177071177e4aae639d1abb23ffa537b94970",
"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": "0x70a2177071177e4aae639d1abb23ffa537b94970",
"verified": true,
"verifiedBy": "token-directory"
},
"updatedAt": "2024-10-23T05:53:19.171080211Z"
}
}
}