core.classes.erc_1155_signature_minting
ERC1155SignatureMinting Objects
class ERC1155SignatureMinting()
mint
def mint(signed_payload: SignedPayload1155) -> 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[SignedPayload1155]) -> 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: SignedPayload1155) -> 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: PayloadToSign1155) -> SignedPayload1155
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[PayloadToSign1155]) -> List[SignedPayload1155]
Generate a batch of signed payloads from the given payloads
Arguments:
payloads_to_sign
: Payloads to sign
Returns:
Signed payloads