Defy Version 1.0
Search
⌃K
Comment on page

Transaction History

What is this request?

With this service, you can see all your wallet activities. You can instantly see what your desired wallet has done on each network.

What can I do with this service?

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.
Transaction History Example Screen

Tutorial

var axios = require('axios');
​
axios.get('https://api.getdefy.co/v1/o/wallet/transactions', {
params: {
address: '0x787970ad122d5947579e613c2464d9540081b46f',
chain: 'eth',
language: 'en',
key: 'API_KEY',
},
})
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
After synchronized wallet you want to use you can test it like this.

Options

  • 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.
  • chain (required): Blockchain network name. Can be eth, bsc, avax and matic.
  • key (required): API key for requests.
  • language (optional): Service language. Default value is en. Can be en or tr.
​
get
https://api.getdefy.co/v1/o
/wallet/transactions
Request Example
Parameters
Query
key*
API Key
chain*
Network Info
address*
Wallet Address
language
Can be: "en", "tr"
Responses
200: OK
400: Bad Request