Skip to main content
GET
/
sdk
/
{environmentId}
/
chains
/
{chainName}
/
transactions
/
{address}
Get transactions for a wallet address
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/chains/{chainName}/transactions/{address} \
  --header 'Authorization: Bearer <token>'
{
  "transactions": [
    {
      "transactionHash": "An example name",
      "blockNumber": 123,
      "transactionTimestamp": "2023-11-07T05:31:56Z",
      "blockHash": "An example name",
      "blockExplorerUrls": [
        "<string>"
      ],
      "fromAddress": "An example name",
      "toAddress": "An example name",
      "labels": [
        "sent"
      ],
      "assetTransfers": [
        {
          "fromAddress": "An example name",
          "toAddress": "An example name",
          "amount": 123,
          "tokenAddress": "An example name",
          "metadata": {
            "name": "<string>",
            "symbol": "<string>",
            "decimals": 123,
            "imageUri": "<string>"
          }
        }
      ],
      "chainName": "ETH",
      "networkId": 1
    }
  ],
  "nextOffset": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

chainName
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC,
ECLIPSE,
SUI,
SPARK,
TRON,
APTOS,
TON
address
string
required

Public key (address) of the wallet

Maximum string length: 255
Example:

"An example name"

Query Parameters

networkId
number
required
limit
integer
Required range: 1 <= x <= 100
offset
string

Response

Wallet transactions fetched successfully

transactions
object[]
required
nextOffset
string

Offset to the next page of transactions