Create an unsigned transaction to clear contract abi.
Usage
visionWeb.transactionBuilder.clearABI(contractAddress, ownerAddress);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
contractAddress | Contract address. | string | - |
ownerAddress | Account address. | string | Default account address |
Returns
Object
Example
visionWeb.transactionBuilder.clearABI("46f151d2b560d0f0a983cdbfc85fff392bb8874258");
> {
visible: false,
txID: '73f65e0357d3578ecd0f924ed12cdebb6a5dc6f42195cf1df784d59c5241926d',
raw_data: {
contract: [ [Object] ],
ref_block_bytes: '4e20',
ref_block_hash: 'cac67d65fc3e0d53',
expiration: 1608559380000,
timestamp: 1608559322194
},
raw_data_hex: '0a024e202208cac67d65fc3e0d5340a08cf1ace82e5a630830125f0a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e436c656172414249436f6e7472616374122e0a1541401a8da8a7fc86f0087f8c62e630d10df10a963b1215413a502a402db9c53f5b4a95ac38e396c0ca10e9d970d2c8edace82e'
}