claim method

Future claim(
  1. String receiver,
  2. BigInt tokenId,
  3. BigInt quantity,
  4. String currency,
  5. BigInt pricePerToken,
  6. Map<String, dynamic> allowlistProof,
  7. String data,
)

Implementation

Future<dynamic> claim(
    String receiver,
    BigInt tokenId,
    BigInt quantity,
    String currency,
    BigInt pricePerToken,
    Map<String, dynamic> allowlistProof,
    String data) async {
  return await _contract.send("claim", [
    receiver,
    tokenId,
    quantity,
    currency,
    pricePerToken,
    allowlistProof,
    data
  ]);
}