⏺️Address Transactions

Get all transactions of a particular address with no wallet specified

Address transactions without specifying the wallet

GET /api/Address/Address-txs

Get all transactions of a particular address (API reference)

Query Parameters

NameTypeDescription

Address*

String

the address to get it's transactions

skip (n)

Int

bypasses first n transactions

take (n)

Int

retrieve first n transactions

Headers

NameTypeDescription

Content-Type*

application/json

application in JSON format

Authorization*

Bearer <your Key>

attach your API key here

Usev2*

String

Value should be true or yes

Get Address Transactions with Javascript SDK

Liaas SDK package installation

/** 
 * Get all Address Transactions on Litecoin Blockchain
**/
 
//all the parameters specified here are the same as all the parameters in the API implementation
//pass your API key or Node URL
const response = await liaasSdk.ltcAddressTransactions(
 nodeUrl_or_apiAccessKey, 
 address, 
 take = 10, 
 skip=0, 
 label = "*"
);

FAQs: Common Error Handling and Solutions

  1. Issue: "The endpoint occasionally returns null as a response." Solution: While rare, this null response may occur due to the unavailability of a specific public node. To resolve this, implement a retry mechanism in your API call using a try & catch block to handle errors and ensure robust performance. Retrying the request is often sufficient when encountering this issue.

Last updated