Gets the actual num field of the AccountId from the Mirror Node.
Should be used after generating AccountId.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
toSolidityAddress
toSolidityAddress():string
Returns string
Description
Statically compute the EVM address. Use only with non-native EVM accounts.
Deprecated
Use toEvmAddress instead
If the account is EVM-native, the EVM address depends on the public key and is not directly related to the account ID.
This handles both long-zero format and evm address format addresses.
If an actual evm address is passed, please use AccountId.populateAccountNum(client) method
to get the actual num value, since there is no cryptographic relation to the evm address
and cannot be populated directly
The ID for a crypto-currency account on Hedera.