GET
/
addresses
/
{hash}
/
transactions
Transactions - By Wallet Address
curl --request GET \
  --url https://api.amberdata.com/blockchains/addresses/{hash}/transactions \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "records": [
      {
        "blockchainId": "1c9c969065fcd1cf",
        "blockNumber": "5703560",
        "confirmations": "2280417",
        "contractAddress": "null",
        "cumulativeGasUsed": "6348961",
        "fee": "563675000000000",
        "from": {
          "address": "0xce9af648a831ddf0cd6d05e3fe5787b3c7987246"
        },
        "gasLimit": "53000",
        "gasPrice": "25000000000",
        "gasUsed": "22547",
        "hash": "0xd0c6d02f93f77996823d76a5e012d0108192b1d9f9bce7f4297c3247dc5e753b",
        "index": 121,
        "input": "0xa9059cbb0...",
        "logsBloom": "0x000000...",
        "maxFeePerGas": 1000000028,
        "maxPriorityFeePerGas": 1000000000,
        "nonce": "504404",
        "publicKey": "null",
        "r": "0x7dd79c36a2c7b488d055222d07eff80d9e0fd6983e21a19d9e0770142e5d8350",
        "raw": "null",
        "root": "null",
        "s": "0x426e3fcd93bf5bd20878a9f6ffca9f0f8875e988f3ad0fa6caf95493f592a617",
        "status": "0x1",
        "timestamp": "2018-05-30T16:35:27.000Z",
        "to": [
          {
            "icon": "https://cdn.amberdata.io/images/tokens/0xf85feea2fdd81d51177f6b8f35f0e6734ce45f5f.png",
            "address": "0xf85feea2fdd81d51177f6b8f35f0e6734ce45f5f"
          }
        ],
        "type": 2,
        "v": "27",
        "value": "0",
        "statusResult": {
          "code": "0x1",
          "confirmed": true,
          "success": true,
          "name": "successful"
        }
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-amberdata-blockchain-id
enum<string>
default:ethereum-mainnet

The id of the blockchain

Available options:
bitcoin-mainnet,
bitcoin-abc-mainnet,
ethereum-mainnet,
litecoin-mainnet

Path Parameters

hash
string
default:0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB
required

address to retrieve transactions for

Query Parameters

blockNumber
integer

Filter by transactions for this block number.

from
string

Filter by transactions for this "from" address.

to
string

Filter by transactions for this "to" address

includeLogs
boolean

Indicates whether or not to include log information for each transaction, if available (false|true).

decodeTransactions
boolean
default:false

Decodes transactions input via known ABIs.

includeTokenTransfers
boolean

Indicates whether or not to include token transfers information for each transaction, if available (false|true).

includePrice
boolean

Indicates whether or not to include price data with the results. Options: true, false.

startDate
string<date-time>

Filter by transactions which happened after this date.

endDate
string<date-time>

Filter by transactions which happened before this date.

validationMethod
string

The validation method to be added to the response: none, basic, full. Default: none. <a href="https://docs.amberdata.io/reference#section-validation-method">More Details.</a>

direction
string

The order in which to return the results (ascending or descending). By default, records are returned in descending order, so the most recent records are returned first.

page
integer
default:0

The page number to return.

size
integer
default:50

The number of records per page (maximum 1000)

Response

200
application/json

200

The response is of type object.