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
Parameters
Key Features
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