curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/GetContractInfo \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '
{
"chainID": "<string>",
"contractAddress": "<string>"
}
'{
"contractInfo": {
"chainId": 123,
"address": "<string>",
"name": "<string>",
"type": "<string>",
"symbol": "<string>",
"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,
"status": "NOT_AVAILABLE",
"decimals": 123,
"queuedAt": "<string>"
},
"task": {
"id": 123,
"queue": "<string>",
"try": 123,
"payload": [
"<string>"
],
"status": "QUEUED",
"runAt": "<string>",
"lastRanAt": "<string>",
"createdAt": "<string>",
"hash": "<string>"
}
}Contract Info — returns contract meta-info for contracts found in registered chain’s token-lists
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/GetContractInfo \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '
{
"chainID": "<string>",
"contractAddress": "<string>"
}
'{
"contractInfo": {
"chainId": 123,
"address": "<string>",
"name": "<string>",
"type": "<string>",
"symbol": "<string>",
"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,
"status": "NOT_AVAILABLE",
"decimals": 123,
"queuedAt": "<string>"
},
"task": {
"id": 123,
"queue": "<string>",
"try": 123,
"payload": [
"<string>"
],
"status": "QUEUED",
"runAt": "<string>",
"lastRanAt": "<string>",
"createdAt": "<string>",
"hash": "<string>"
}
}Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
OK
表示 子属性
表示 子属性
[]string
Represented as uint32 on the server side
NOT_AVAILABLE, STALE, AVAILABLE このページは役に立ちましたか?