createContractAddress
createContractAddress(
from
,nonce
):Address
Generates an Address for a newly created contract.
Parameters
• from: EthjsAddress
The address of the account creating the contract.
• nonce: bigint
The nonce of the account creating the contract.
Returns
The generated contract address.
Throws
If the ‘from’ parameter is not a valid EthjsAddress.