Get the result signed by the oracle. Returns the string of the argument to be used in the method.
GET/wallet/nano-contracts/oracle-signed-result
Get the result signed by the oracle. Returns the string of the argument to be used in the method.
Request
Query Parameters
oracle_data stringrequired
The oracle data. If it's not an address, we expect the full input data.
result anyrequired
The result to be signed. If the type is bytes, then we expect it in hex.
type stringrequired
The type of the result.
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 signed result.
{
"success": true,
"oracleData": "12345678:1x0:str"
}
Address used is from another wallet.
{
"success": false,
"message": "Oracle address is not from the loaded wallet."
}
Loading...