Skip to main content

NanoContractPOST

    values

    object[]

    required

    List of bets

  • Array [

  • address stringrequired

    Destination address of the bet in base58

    value integerrequired

    Value of the bet

  • ]

  • fallback_address stringrequired

    Address in base58 that will execute the contract in case none of the bets is the winner

    oracle_pubkey_hash stringrequired

    Oracle public key in base64

    oracle_data_id stringrequired

    Id of the oracle of this nano contract

    total_value integerrequired

    Total value of the nano contract

    input_value integerrequired

    Amount this wallet should stake in the nano contract