Get one order details
To use this feature you must have the API key. Read here to view how to get our API key
Get one order details by API key
GET https://api.tronsave.io/v0/orders/:id
Rate limit: 15 requests per 1 second
{
id: string, // id of order
requester: string, // the address represent for order owner
target: string, // the address that is received resource
resource_amount: number, // the amount of resource
resource_type: string, // the amount type is "ENERGY"
remain_amount: number, // the remain amount can matching by system
price: number, // price unit is equal to sun
duration: number, // rent duration, duration unit is equal to second
allow_partial_fill: boolean, //Allow the order to be filled partially or not
payout_amount: number, // Total payout of this order
fulfilled_percent: number, //The percent that show filling processing. 0-100
matched_delegates:{ //All matched delegate for this order
delegator:string // The address that delegate resource for target address
amount: number //The amount of resource was delegated
txid: number // The transaction id in onchain
}[]
}Example
Example Code
Last updated