POST /data

Saves data in the data store.

Please refer to the following page for detailed documentation.

GUIDE

Parameters

Name Type Description
input JSONObject Saving hash value of data to be saved in DataObject Contents of transaction
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 Contract function name
input.objectId string DataObject ID
input.dataHash string Hash value of data to be stored in the data store
input.params array Parameters to pass to transaction excluding sign of first argument
data string Data to be stored in the data store
sign string Signed to guarantee the input contents

Response Example

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

results matching ""

    No results matching ""