Wallet History

The Wallet History API allows you to retrieve all cross-chain transaction records associated with a specific wallet address. This provides a comprehensive view of a user's historical interactions with

API Endpoint

Method

Endpoint

GET

https://v2.api.squidrouter.com/v2/history/wallet

Parameters

Parameter

Type

Required

Description

address

string

Yes

The EVM or Cosmos wallet address to query.

x-integrator-id

header

Yes

Your unique integrator ID. Requests count toward your Rate Limit (RPS).

Key Features

  • Global History: Returns all transactions associated with the wallet across all integrators.

  • Time Range: Returns history for the last 3 months.

  • No Pagination: This endpoint returns the full result set in a single response.

Example Request

curl --location 'https://v2.api.squidrouter.com/v2/history/wallet?address=ADD_ADDRESS_HERE' \
--header 'x-integrator-id: your-integrator-id'
const getWalletHistory = async (address, integratorId) => {
  try {
    const result = await axios.get("https://v2.api.squidrouter.com/v2/history/wallet", {
      params: { address },
      headers: { "x-integrator-id": integratorId },
    });
    return result.data;
  } catch (error) {
    console.error("Error fetching history:", error.response?.data || error.message);
    throw error;
  }
};

Example Response

Last updated