Transaction API
Last updated
Last updated
With this service, you can see all your wallet activities. You can instantly see what your desired wallet has done on each network. This service is multichain supported. You can get binance smart chain, avalanche, polygon, ethereum networks data with one request.
With this service, you can see the past transactions in your wallet network-specific, and you can create a user-specific historical transactions section in your application.
var axios = require('axios');
axios.get('https://api.getdefy.co/v2/wallet/transactions', {
params: {
address: '0x787970ad122d5947579e613c2464d9540081b46f',
apikey: 'API_KEY',
page: 1
limit: 10
},
})
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
address
(required): A user address (i.e. 0x1a2b3x...
). If specified, the user attached to the query is ignored and the address will be used instead.
apikey
(required): API key for requests.
page
(required): Page value has to be minimum 1
limit
(required): Limit data has to be maximum 100 and minimum 1.
GET
https://api.getdefy.co/v2/wallet/transactions
{
"data": [
{
"id": "52182290",
"to_address": "0x20a7deb7289d48c7693f1788b7924a0bebd1043f",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0xea86978ac8b4a2fa47ace3fd0a285f278886d4e7dbcd0d12e8c08573c9887917",
"gas": "21000",
"gas_price": "30001000889",
"timestamp": "1718101096",
"value": "500000000000000000",
"block_number": "58026087",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x00000000000000000000000020a7deb7289d48c7693f1788b7924a0bebd1043f"
],
"data": "0x00000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000235ac8bf758f2a6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c6a6d65a1dd2a6e00000000000000000000000000000000000000000000000006f05b59d3b20000"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x00000000000000000000000067b94473d81d0cd00849d563c94d0432ac988b49"
],
"data": "0x00000000000000000000000000000000000000000000000000023cfb4e356000000000000000000000000000000000000000000000000000235d05bfa893fa360000000000000000000000000000000000000000000008eadcb8ef1c352794e9000000000000000000000000000000000000000000000000235ac8c45a5e9a360000000000000000000000000000000000000000000008eadcbb2c17835cf4e9"
}
],
"network": "matic"
},
{
"id": "31765113",
"to_address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0xd2aae7196455c600ca8759a37e10d917ab89e96d5ba5514161828e6d31b4973a",
"gas": "59151",
"gas_price": "69584137062",
"timestamp": "1696506036",
"value": "0",
"block_number": "48355003",
"logs": [
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000777f415324d56e1d54fa832902d8797db7a4c57c"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000002710"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x00000000000000000000000046a3a41bd932244dd08186e4c19f1a7e48cbcdf4"
],
"data": "0x0000000000000000000000000000000000000000000000000004c1bef90a698c00000000000000000000000000000000000000000000000023688002843cb0de000000000000000000000000000000000000000000004af2353b5440a362a49e0000000000000000000000000000000000000000000000002363be438b324752000000000000000000000000000000000000000000004af2354015ff9c6d0e2a"
}
],
"network": "matic"
},
{
"id": "31765114",
"to_address": "0x777f415324d56e1d54fa832902d8797db7a4c57c",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x105ecf932d1bf0c29a63c9babd7338e087ff074232ff2d99f8841eaaea13d6f7",
"gas": "23100",
"gas_price": "392694650623",
"timestamp": "1696408593",
"value": "1000000000000000",
"block_number": "48310193",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000777f415324d56e1d54fa832902d8797db7a4c57c"
],
"data": "0x00000000000000000000000000000000000000000000000000038d7ea4c6800000000000000000000000000000000000000000000000000023691f7b542f8d120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000236591fcaf690d1200000000000000000000000000000000000000000000000000038d7ea4c68000"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000127685d6dd6683085da4b6a041efcef1681e5c9c"
],
"data": "0x00000000000000000000000000000000000000000000000000044382be7619d8000000000000000000000000000000000000000000000000238959bb794796d60000000000000000000000000000000000000000000002544d6b74df88a8a6be00000000000000000000000000000000000000000000000023851638bad17cfe0000000000000000000000000000000000000000000002544d6fb862471ec096"
}
],
"network": "matic"
},
{
"id": "31765115",
"to_address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0xc321e13843d8021958df03e5e27cf2d02c1aaa71c0d2182811acec436261aa00",
"gas": "77961",
"gas_price": "85504135626",
"timestamp": "1696408439",
"value": "0",
"block_number": "48310121",
"logs": [
{
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000777f415324d56e1d54fa832902d8797db7a4c57c"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000003e8"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000ec20607aa654d823dd01beb8780a44863c57ed07"
],
"data": "0x0000000000000000000000000000000000000000000000000006cb9b36b5af78000000000000000000000000000000000000000000000000239ca605d0420e6600000000000000000000000000000000000000000000007e0a025e14c841bb730000000000000000000000000000000000000000000000002395da6a998c5eee00000000000000000000000000000000000000000000007e0a0929affef76aeb"
}
],
"network": "matic"
},
{
"id": "31765116",
"to_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"from_address": "0x4f797d5e551b5dc25b68298c97d68aa24ddc49d4",
"hash": "0xb5d80de68e4f28621bb410601b3da9a02137e54da7b281f9c697fe00030ba697",
"gas": "23100",
"gas_price": "85452566973",
"timestamp": "1691044144",
"value": "10000000000000000",
"block_number": "45848891",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000004f797d5e551b5dc25b68298c97d68aa24ddc49d4",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000013f3012e7b2069ec00000000000000000000000000000000000000000000000023791f1360810e6600000000000000000000000000000000000000000000000013cf7a3c0b5f69ec000000000000000000000000000000000000000000000000239ca605d0420e66"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000004f797d5e551b5dc25b68298c97d68aa24ddc49d4",
"0x0000000000000000000000009ead03f7136fc6b4bdb0780b00a1c14ae5a8b6d0"
],
"data": "0x00000000000000000000000000000000000000000000000000027c9c779e558800000000000000000000000000000000000000000000000013fa047b87ce843800000000000000000000000000000000000000000000022fd06475972e9b053e00000000000000000000000000000000000000000000000013f787df10302eb000000000000000000000000000000000000000000000022fd066f233a6395ac6"
}
],
"network": "matic"
},
{
"id": "31765119",
"to_address": "0x4f797d5e551b5dc25b68298c97d68aa24ddc49d4",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x1c5cebda9e5783f1583347415e263bb520329f1363b03e0d4afe7fdbf637cd71",
"gas": "23100",
"gas_price": "107885901421",
"timestamp": "1680889272",
"value": "10000000000000000",
"block_number": "41259224",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x0000000000000000000000004f797d5e551b5dc25b68298c97d68aa24ddc49d4"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000275f888da9a2ae4c000000000000000000000000000000000000000000000000146f553157710168000000000000000000000000000000000000000000000000273c019b39e1ae4c0000000000000000000000000000000000000000000000001492dc23c7320168"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000e7e2cb8c81c10ff191a73fe266788c9ce62ec754"
],
"data": "0x0000000000000000000000000000000000000000000000000002a1270d83a8b000000000000000000000000000000000000000000000000027686329e2d1c1d800000000000000000000000000000000000000000000052bb481aece2f316bb70000000000000000000000000000000000000000000000002765c202d54e192800000000000000000000000000000000000000000000052bb4844ff53cb51467"
}
],
"network": "matic"
},
{
"id": "31765120",
"to_address": "0x4f797d5e551b5dc25b68298c97d68aa24ddc49d4",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x899778d6aff7fd0b011a44af0edcd3f217fccad60a092ace2ed8557b0e80c95b",
"gas": "23100",
"gas_price": "99107548340",
"timestamp": "1680889238",
"value": "10000000000000000",
"block_number": "41259208",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x0000000000000000000000004f797d5e551b5dc25b68298c97d68aa24ddc49d4"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000278b2cd23f200d48000000000000000000000000000000000000000000000000144bce3ee7b001680000000000000000000000000000000000000000000000002767a5dfcf5f0d48000000000000000000000000000000000000000000000000146f553157710168"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x00000000000000000000000072f93a2740e00112d5f2cef404c0aa16fae21fa4"
],
"data": "0x000000000000000000000000000000000000000000000000000285b844a3f5f000000000000000000000000000000000000000000000000027934f01150dcf780000000000000000000000000000000000000000000006fc1bb16d695dd242aa0000000000000000000000000000000000000000000000002790c948d069d9880000000000000000000000000000000000000000000006fc1bb3f321a276389a"
}
],
"network": "matic"
},
{
"id": "31765122",
"to_address": "0xf8a5e8377579817783b859c6461288f034750caa",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x8e0727737775bace718a30161966c5bc03742a6522467c2ff86beb94f5276226",
"gas": "23100",
"gas_price": "140936974344",
"timestamp": "1678791595",
"value": "10000000000000000",
"block_number": "40333247",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000f8a5e8377579817783b859c6461288f034750caa"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000027bda602e3ac2bb4000000000000000000000000000000000000000000000000001d5283e2a192a1000000000000000000000000000000000000000000000000279a1f1073eb2bb40000000000000000000000000000000000000000000000000040d976526292a1"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x00000000000000000000000026c80cc193b27d73d2c40943acec77f4da2c5bd8"
],
"data": "0x000000000000000000000000000000000000000000000000000269e83c87bc5800000000000000000000000000000000000000000000000027c937009a34bd94000000000000000000000000000000000000000000000fdce6bc1106e6a0d8e000000000000000000000000000000000000000000000000027c6cd185dad013c000000000000000000000000000000000000000000000fdce6be7aef23289538"
}
],
"network": "matic"
},
{
"id": "31765129",
"to_address": "0xf8a5e8377579817783b859c6461288f034750caa",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x5e346fa2640a27c11e849b5d70570dacc6bb47a8e9a67e4f34925f303fb08750",
"gas": "23100",
"gas_price": "157515125178",
"timestamp": "1678789944",
"value": "10000000000000000",
"block_number": "40332501",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000f8a5e8377579817783b859c6461288f034750caa"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000028596f856f6ca0fc000000000000000000000000000000000000000000000000006a94d74f4300000000000000000000000000000000000000000000000000002835e892ffaba0fc000000000000000000000000000000000000000000000000008e1bc9bf040000"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000e7e2cb8c81c10ff191a73fe266788c9ce62ec754"
],
"data": "0x00000000000000000000000000000000000000000000000000025af55f0daf2800000000000000000000000000000000000000000000000028665ccedfa42c94000000000000000000000000000000000000000000000da206e967d8648f88c6000000000000000000000000000000000000000000000000286401d980967d6c000000000000000000000000000000000000000000000da206ebc2cdc39d37ee"
}
],
"network": "matic"
},
{
"id": "31765130",
"to_address": "0xf8a5e8377579817783b859c6461288f034750caa",
"from_address": "0x1d0d2d8c85441050abc9eb654399fa198fbd5722",
"hash": "0x61e18e41f91f1126e49a924966713841f9a43321b6f2056b44212d0a67105356",
"gas": "23100",
"gas_price": "126418634976",
"timestamp": "1678789856",
"value": "10000000000000000",
"block_number": "40332475",
"logs": [
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000f8a5e8377579817783b859c6461288f034750caa"
],
"data": "0x000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000002888f24da1f35f1400000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000028656b5b32325f14000000000000000000000000000000000000000000000000006a94d74f430000"
},
{
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001d0d2d8c85441050abc9eb654399fa198fbd5722",
"0x000000000000000000000000de8da1ee512529b6c61fe7c769affc160308dea2"
],
"data": "0x00000000000000000000000000000000000000000000000000027a84e136e4200000000000000000000000000000000000000000000000002893524615d733940000000000000000000000000000000000000000000003a6540664df4b3926330000000000000000000000000000000000000000000000002890d7c134a04f740000000000000000000000000000000000000000000003a65408df642c700a53"
}
],
"network": "matic"
}
],
"code": 0,
"message": "OK",
"page_count": 7
}
{
"message": "Error Message",
"status": 5002
}
Name | Type | Description |
---|---|---|
apikey*
String
API Key
address*
String
Wallet Address
limit*
Integer
Page limit
page*
Integer
Page Value