POST /cmd/read-only/executesc

Changed on

Read-only execute smart contract

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

nicknamestring required

Nickname of the account used to execute the byte code.

bytecodestring binary required

Smart contract file in a Wasm format.

coinsstring

Set the number of coins that will be sent along the deployment call. (NanoMassa)

feestring

Set the fee amount (in massa) that will be given to the block creator.

datastorestring

base64 encoded datastore that will be sent along the smart contract.

Response

OK.

gas_costinteger

Changes