Skip to main content

/wallet/clearabi REST API Endpoint

To clear the ABI info of a smart contract.

Updated on
Oct 4, 2023

/wallet/clearabi REST API Endpoint

Body Parameters

owner_address
string
REQUIRED
The owner address of the smart contract. If visible is true, use base58check format, otherwise use hex format
contract_address
string
REQUIRED
The smart contract address. If visible is true, use base58check format, otherwise use hex format
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

visible
A boolean value indicating whether the transaction was successful
txid
The transaction id
raw_data
An object that contains the transaction details with the following fields:
contract
An array of objects containing information about the transaction contract
parameter
An object containing the transaction contract parameters
value
An object containing the values of the transaction contract parameters
amount
The amount of the token being injected
owner_address
The owner address
contract_address
The contract address
type_url
The URL of the exchange transaction contract type
type
The type of the exchange transaction contract
ref_block_bytes
The ref block bytes of the transaction
ref_block_hash
The ref block hash of the transaction
expiration
This is a timestamp indicating the expiration time of the transaction in milliseconds
timestamp
This is a timestamp indicating the time at which the transaction was created in milliseconds
raw_data_hex
The hexadecimal representation of the raw data in the transaction
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/clearabi \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "TX4FPHqnXc9r2kJzkScnk7Q5hRPH55Rsua",
7
"contract_address": "TV7rB5oK44V3MNS3CKWpQBF6piyeQB6fMt",
8
"visible": true
9
}
10
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free