Contract Transactions
Query all transactions for any deployed contract on any EVM chain.
Query all transactions for any deployed contract on any EVM chain.
fetch( "https://api.thirdweb.com/v1/contracts/{chainId}/{address}/transactions?page=1&limit=20&sortOrder=desc", { method: "GET", headers: { "x-secret-key": "<your-project-secret-key>", }, },);x-secret-keybackendx-client-idfrontendx-ecosystem-idoptionalx-ecosystem-partner-idoptionalchainIdintegerRequiredaddressstringRequiredfilterFromAddressstringfilterToAddressstringfilterBlockTimestampGteintegernullfilterBlockTimestampLteintegernullfilterBlockNumberGteintegernullfilterBlockNumberLteintegernullfilterValueGtstringfilterFunctionSelectorstringpagenumbernull1limitnumbernull20sortOrderstringdesc{ "result": { "data": [ { "blockHash": "string", "blockNumber": 0, "blockTimestamp": 0, "chainId": "string", "data": "string", "fromAddress": "string", "functionSelector": "string", "gas": 0, "gasPrice": "string", "hash": "string", "nonce": 0, "status": 0, "toAddress": "string", "transactionIndex": 0, "value": "string", "contractAddress": "string", "cumulativeGasUsed": 0, "decoded": { "inputs": { "property": "value" }, "name": "string", "signature": "string" } } ], "pagination": { "hasMore": true, "limit": 20, "page": 1 } }}