The options for listing spend permissions.
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);
}
Lists spend permissions for the user's EVM Smart Account.