ClearAbi

To clear the ABI info of a smart contract.

Body params:

  • owner_address - Owner address of the smart contract. If visible=true, use base58check format, otherwise use hex format.

  • contract_address - Smart contract address. If visible=true, use base58check format, otherwise use hex format.

  • visible - Optional. Defaults to false. Whether addresses are in base58check format.

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/clearabi \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "41608F8DA72479EDC7DD921E4C30BB7E7CDDBE722E",
     "contract_address": "41a7837ce56da0cbb28f30bcd5bff01d4fe7e4c6e3",
     "visible": true
}
'

Response

{
  "Error": "class java.lang.IllegalArgumentException : Illegal character 0 at 3"
}

Last updated