Get Multiple Escrow Balance
Get the balance of multiple escrows.
Headers
Name
Value
Content-Type
application/json
x-api-key
<token>
Open API
get
Authorizations
Query parameters
Responses
200
Collection of objects containing information on the balance of the requested addresses
application/json
400
Bad request
401
Unauthorized access
429
Too Many Requests
500Error
application/json
get
/helper/get-multiple-escrow-balanceGET /helper/get-multiple-escrow-balance?addresses=undefined HTTP/1.1
Host:
Accept: */*
[
{
"address": "GAWVVSA..",
"balance": 30
},
{
"address": "GAWVCG3..",
"balance": 10
}
]Use Example:
import axios from "axios";
const http = axios.create({
baseURL: "https://dev.api.trustlesswork.com",
timeout: 10000,
headers: {
"Content-Type": "application/json",
"x-api-key": your_api_key,
},
});
export const useExample = async (addresses: string[]) => {
const response = await http.get("/helper/get-multiple-escrow-balance", {
params: { addresses },
});
return response;
};
Last updated
Was this helpful?