Comment on page
Transaction Data
You can see more detailed transactions with this service.
With this service, you have a more detailed transaction. You can see what was done in the transaction and with which contract this transaction was run.
var axios = require('axios');
axios.get('https://api.getdefy.co/v1/o/query/transaction', {
params: {
hash: '0xaef1b250f3c09dde83c5c040c4b0fa2363db5b35980e74cd72560d509b365299',
chain: 'eth',
language: 'en',
key: 'API_KEY',
},
})
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
hash
(required): A transaction hash (i.e.0x1a2b3x...
).chain
(required): Blockchain network name. Can beeth, bsc, avax
andmatic.
key
(required): API key for requests.language
(optional): Service language. Default value isen
. Can been
ortr
.
- Methods:
TRANSFER, APPROVAL, MINT, SWAP, CLAIM, STAKE, DEPOSIT, WITHDRAW, UNLOCK, NFT_SWAP, OPENSEA_NFT_SWAP
or other contract methods. - Tx Types:
NATIVE, ERC20, ERC721
andERC1155
get
https://api.getdefy.co/v1/o
/query/transaction
Request Example
Parameters
Query
key*
API Key
chain*
Network Info
hash*
Transaction Hash
language
Can be: "en", "tr"
Responses
200: OK
400: Bad Request
Last modified 4mo ago