epresents a delegatable smart contract ID on the Hedera network.
This class extends ContractId and provides additional functionality for delegatable contracts.
Gets the actual num field of the ContractId from the Mirror Node.
Should be used after generating ContractId.fromEvmAddress() because it sets the num field to 0
automatically since there is no connection between the num and the evmAddress
toBytes
toBytes():Uint8Array<ArrayBufferLike>
Returns Uint8Array<ArrayBufferLike>
toEvmAddress
toEvmAddress():string
Returns string
EVM-compatible address representation of the entity
This handles both long-zero format and evm address format addresses.
If an actual evm address is passed, please use ContractId.populateAccountNum(client) method
to get the actual num value, since there is no cryptographic relation to the evm address
and cannot be populated directly
epresents a delegatable smart contract ID on the Hedera network. This class extends ContractId and provides additional functionality for delegatable contracts.