core.classes.erc_721_signature_minting
ERC721SignatureMinting Objects
class ERC721SignatureMinting()
mint
def mint(signed_payload: SignedPayload721) -> TxResultWithId
Mint a token with the given payload
Arguments:
signed_payload
: Signed payload
Returns:
transaction result with the token ID of the minted token
mint_batch
def mint_batch(
signed_payloads: List[SignedPayload721]) -> List[TxResultWithId]
Mint a batch of tokens with the given payloads
Arguments:
signed_payloads
: Signed payloads
Returns:
transaction results with the token IDs of the minted tokens
verify
def verify(signed_payload: SignedPayload721) -> bool
Verify the signature of the given payload
Arguments:
signed_payload
: Signed payload
Returns:
True if the signature is valid, False otherwise
generate
def generate(mint_request: PayloadToSign721) -> SignedPayload721
Generate a signed payload from the given payload
Arguments:
mint_request
: Payload to sign
Returns:
Signed payload
generate_batch
def generate_batch(
payloads_to_sign: List[PayloadToSign721]) -> List[SignedPayload721]
Generate a batch of signed payloads from the given payloads
Arguments:
payloads_to_sign
: Payloads to sign
Returns:
Signed payloads