Protected
constructorCreates an instance of the class.
The address to transfer token or the smart contract to call, can be null.
The token amount being transferred in wei units as hexadecimal expression.
Arguments of the smart contract function called as encoded as a hexadecimal expression
Optional
comment: stringAn optional comment.
Optional
abi: stringAn optional ABI string.
Optional
Readonly
abiAn optional Application Binary Interface (ABI) of the called function of a smart contract.
Optional
Readonly
commentAn optional comment to describe the purpose of the clause.
Readonly
dataReturn the hexadecimal expression of the encoding of the arguments of the called function of a smart contract.
Readonly
toRepresents the address where:
Readonly
valueReturn the hexadecimal expression of the amount of VET or VTHO token in Units.wei to transfer to the destination.
Static
Readonly
NO_Used publicly to tag a transaction not tranferring token amount.
The amount as a fixed-point number.
Static
callReturn a new clause to call a function of a smart contract.
The address of the smart contract.
The ABI definition of the function to be called.
The arguments for the function.
Optional
amount: VET = ...The amount of VET to be sent with the transaction calling the function.
Optional
clauseOptions: ClauseOptionsOptional clause settings.
A clause object to call the function in a transaction.
Static
deployReturns a new clause to deploy a smart contract.
The bytecode of the contract to be deployed.
Optional
deployParams: DeployParamsOptional parameters to pass to the smart contract constructor.
Optional
clauseOptions: ClauseOptionsOptional clause settings.
The clause to deploy the smart contract as part of a transaction.
Static
transferNFTTransfers an NFT from the sender to the recipient.
The address of the NFT contract.
The address of the current owner (sender) of the NFT.
The address of the new owner (recipient) of the NFT.
The unique identifier of the NFT to be transferred.
Optional
clauseOptions: ClauseOptionsOptional clause settings.
The clause object representing the transfer operation as part of a transaction.
Static
transferStatic
transferVETReturn a new clause to transfers VET to a specified recipient address.
The address of the recipient.
The amount of VET to transfer.
Optional
clauseOptions: ClauseOptionsOptional clause settings.
Static
transferVTHOToken
This class represent a transaction clause.