cURL
curl --request POST \ --url https://api.dune.com/api/v1/datasets/search-by-contract \ --header 'Content-Type: application/json' \ --header 'X-Dune-Api-Key: <x-dune-api-key>' \ --data ' { "contract_address": "<string>", "blockchains": [ "<string>" ], "include_schema": true, "limit": 123, "offset": 123 } '
{ "pagination": { "has_more": true, "limit": 123, "next_offset": 123, "offset": 123 }, "results": [ { "blockchains": [ "<string>" ], "category": "<string>", "dataset_type": "<string>", "description": "<string>", "full_name": "<string>", "metadata": { "abi_type": "<string>", "contract_name": "<string>", "description": "<string>", "page_rank_score": 123, "project_name": "<string>", "spell_metadata": [ 123 ], "spell_type": "<string>" }, "owner_scope": "<string>", "schema": [ 123 ], "visibility": "<string>" } ], "total": 123 }
Find decoded datasets associated with a smart contract address
blockchains
include_schema
true
API Key for the service
API Key, alternative to using the HTTP header X-Dune-Api-Key
Search by contract address request
OK
Show child attributes
Was this page helpful?