createWallet method

Future<CrossmintJsonMap> createWallet(
  1. CrossmintJsonMap body
)

Implementation

Future<CrossmintJsonMap> createWallet(CrossmintJsonMap body) async {
  final response = await transport.post(
    '${CrossmintApiVersions.wallets}/wallets/me',
    options: request(body: body),
  );
  return expectSuccessfulMap(
    response,
    CrossmintWalletException.new,
    operation: 'create wallet',
  );
}