docs/docs/guides/15_web3_upgrade_guide/web3_eth_ens.md
null in 1.x, use undefined in 4.x.TransactionConfig as the last argument, now accept an optional NonPayableCallOptions. See web3-eth-contract package for more details.receipt object the event listener receives:
BigInt instead of a number for the following properties:
transactionIndexblockNumbercumulativeGasUsedgasUsedeffectiveGasPriceBigInt instead of a boolean for the following properties:
statusregistry was the way to get the ENS registry in 1.x. In 4.x the registry functionality is exposed directly through the ens class.resolver was already deprecated in the latest versions of 1.x. In 4.x it doesn't exist, use getResolver instead.name,txConfig and callback are the function arguments. This is wrong, since there is one more argument, address. So the right signature is setOwner(name: string, address: string, txConfig?: TransactionConfig | undefined, callback?: ....). The same applies for 4.x, too.getTTLbigint is returned instead of a number.- `getMultihash` is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver
- Following functions are not supported in web3-eth-ens 4.x :
`setResolver`
`setSubnodeRecord`
`setApprovalForAll`
`isApprovedForAll`
`setSubnodeOwner`
`setTTL`
`setOwner`
`setRecord`
`setAddress`
`setPubkey`
`setContenthash`