Skip to main content

NanoContractExecute

spent_tx_idstringrequired

Id in hex of the transaction being spent

spent_tx_indexindexrequired

Index of the output of the transaction being spent

oracle_datastringrequired

Data in base64 provided by the oracle

oracle_signaturestringrequired

Signature in base64 of the oracle data

oracle_pubkeystringrequired

Public key of the oracle in base64

addressstringrequired

Winning address in base58

valueintegerrequired

Total value of the nano contract (without decimal places)

NanoContractExecute
{
"spent_tx_id": "string",
"spent_tx_index": "Unknown Type: index",
"oracle_data": "string",
"oracle_signature": "string",
"oracle_pubkey": "string",
"address": "string",
"value": 0
}