Get the oracle data.
GET/wallet/nano-contracts/oracle-data
Get the oracle data.
Request
Query Parameters
oracle stringrequired
The address in base58 that will be used as oracle or the oracle data itself in hex (in this case, it will just be returned the same).
Header Parameters
x-wallet-id stringrequired
Define the key of the corresponding wallet it will be executed the request.
Responses
- 200
Success
- application/json
- Schema
- success
- error
Schema
any
Get oracle data from an address.
{
"success": true,
"oracleData": "12345678"
}
Invalid oracle string.
{
"success": false,
"message": "Invalid hex value for oracle script."
}
Loading...