POST /transaction

Calls a function on a contract that does record data on the BlockChain.

Executes transaction processing.

Please refer to the following page for detailed documentation.

GUIDE

Parameters

Name Type Description
input JSONObject Contents of the transaction you want to execute
input.cnsAddress string The contract address of the CNS registering the contract that defined transaction
input.contractName string Name of contract defining transaction
input.functionName string Function name
input.params array Parameters to pass to transaction excluding sign of first argument
sign string Signed to guarantee the input contents

Response Example

{
  "code": 0,
  "message": "",
  "txHash": "0x8b8bb6a0fd2635624255d546fdde8c89c5b354840af74bcf1b9a0174be1fd291"
}

results matching ""

    No results matching ""