CDP Frontend SDK
    Preparing search index...

    Function listSpendPermissions

    • Lists spend permissions for the user's EVM Smart Account.

      Parameters

      Returns Promise<ListSpendPermissionsResult>

      The result of the spend permissions listing.

      const result = await listSpendPermissions({
      evmSmartAccount: "0x1234...",
      network: "base-sepolia",
      pageSize: 10
      });

      console.log("Found", result.spendPermissions.length, "spend permissions");
      for (const permission of result.spendPermissions) {
      console.log("Permission:", permission.permissionHash, "Revoked:", permission.revoked);
      }