GetMintTransactionParameters
GetMintTransactionParameters is a function which generates all the required parameters needed to send a successfull transaction and mint a subname on a given chain
Usage
MintTransactionRequest
Parameter
Description
Required
parentName
name of listed ENS name
Yes
label
Self explanatory. The full subname will be ${label}.${parentName}
Yes
owner
The owner of minted subname NFT
No, defaults to minter address
minterAddress
Address of a wallet which is going to perform mint transaction
Yes
expiryInYears
For subnames which are expirable, this is where the expiry in years is set.
No, defaults to 1 year
records
Text and Addresse records to be set in the same transaction
No
MintTransactionResponse
The response object contains all the needed information that can be used to send a transaction and mint a subname
Last updated