ISignatureMintERC1155
The 'signature minting' mechanism used in thirdweb Token smart contracts is a way for a contract admin to authorize an external party's request to mint tokens on the admin's contract. At a high level, this means you can authorize some external party to mint tokens on your contract, and specify what exactly will be minted by that external party.
Methods
mintWithSignature
Parameters
Name
Type
Description
req
ISignatureMintERC1155.MintRequest
undefined
signature
bytes
undefined
Returns
Name
Type
Description
signer
address
undefined
verify
Parameters
Name
Type
Description
req
ISignatureMintERC1155.MintRequest
undefined
signature
bytes
undefined
Returns
Name
Type
Description
success
bool
undefined
signer
address
undefined
Events
TokensMintedWithSignature
Emitted when tokens are minted.
Parameters
Name
Type
Description
signer indexed
address
undefined
mintedTo indexed
address
undefined
tokenIdMinted indexed
uint256
undefined
mintRequest
ISignatureMintERC1155.MintRequest
undefined
Last updated