How to consult the result of a contract?
I would like to know which API function could return the result of an already finalized contract.
If passive by the contract ID, if not, I would like at least one suggestion.
I currently use the function
{
"profit_table": 1,
"description": 1,
"limit": 25,
"offset": 25,
"sort": "ASC"
}
and I make a loop comparing the contract ID to localisalo
Does anyone have a better suggestion?
Comments
@Rodolfo there are 2 calls to get contract history. The first one you are already using, and the second one is account statement. https://api.deriv.com/playground/#statement