ERC20BatchMintable
Functionality available for contracts that implement the
ERC20
,
ERC20Mintable
,
and Multicall
extensions.
Allow you to mint tokens to multiple wallet addresses in one transaction.
mint_batch_to
Mint tokens to many wallets in one transaction.
from thirdweb.types.currency import TokenAmount
# Data of the tokens you want to mint
args = [
TokenAmount("0x7fDae677aA6f94Edff9872C4b91D26407709c790", 1),
TokenAmount("0x7fDae677aA6f94Edff9872C4b91D26407709c790", 2),
]
contract.erc20.mint_batch_to(args)