Was this helpful?
Retrieves all records associated with a subname - goes through CCIP-Read flow to fetch records
/ens/v1/subname/records
The subname
justanexample.eth
Provider URL
https://cloudflare-eth.com
curl -L \ --url 'https://api.justaname.id/ens/v1/subname/records?ens=text&providerUrl=text'
{ "statusCode": 200, "result": { "data": { "ens": "user.justan.id", "isClaimed": true, "claimedAt": "2024-05-22T11:55:29.000Z", "isJAN": true, "records": { "resolverAddress": "0x48De002d3c64e4cFD130A87A35ECD960c01954bc", "contentHash": { "protocolType": "ipfs", "decoded": "bafybeiafwq5iqeyk73or3dmzyjyqaauyzdwi3xtync7h6kp64umwvsiumi" }, "texts": [ { "key": "com.twitter", "value": "justaname_id" } ], "coins": [ { "id": 60, "name": "eth", "value": "0x1FA89227d0F42960eb5f5693fAFCF58e255A4dfa" } ] } }, "error": "text" } }