NFT Accounts (ERC-6551)
Query NFT Account
GET
/
api
/
v1
/
erc6551
/
account
Authorization
Query
curl --location 'https://groupos.xyz/api/v1/erc6551/account' \
--request GET \
-d 'tokenChainId=1' \
-d 'tokenContractAddress=0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB' \
-d 'tokenId=6529' \
--header 'Content-Type: application/json'
{
"success": true,
"account": {
"contractAddress": "0x04A7A5C8Ec1B06d8141E42b97Bde8a5a49e7C849"
}
}
Query an individual account for a specific NFT.
Query Params
tokenChainId
number
requiredThe chain id of the bound NFT.
tokenContractAddress
string
requiredThe contract address of the bound NFT.
tokenId
string
requiredThe id of the bound NFT.
Response
success
boolean
Indicates whether the call was successful.
account
object
NFT Account object.
curl --location 'https://groupos.xyz/api/v1/erc6551/account' \
--request GET \
-d 'tokenChainId=1' \
-d 'tokenContractAddress=0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB' \
-d 'tokenId=6529' \
--header 'Content-Type: application/json'
{
"success": true,
"account": {
"contractAddress": "0x04A7A5C8Ec1B06d8141E42b97Bde8a5a49e7C849"
}
}