clearABI

创建一个未签名的交易,用于清空合约的 abi。

用法

visionWeb.transactionBuilder.clearABI(contractAddress, ownerAddress);

入参

参数描述类型默认值
contractAddress合约地址string-
ownerAddress合约拥有者账户地址string默认账户地址

返回值

object,创建的 transaction 对象。

示例

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'
}