PUT /file

Updates a file in the data store.

Parameters

Name Type Description
input string A hash value of data to be saved in DataObject A JSON character string of transaction contents
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.fileHash string Hash value of the file to be updated
input.params array Parameters to pass to transaction excluding sign of first argument
file File File to update
sign string Signed to guarantee the input contents

Response Example

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

results matching ""

    No results matching ""