Check if authority manager action is present
boolean
Check if Sol Spend is allowed. If amount
is provided,
it will return true
if the action can spend the given amoount of Sol
Optional
amount: bigintminimum spendaable amount
boolean
Check if Sol Spend is uncapped
boolean
Check if Token Spend is allowed. If amount
is provided,
it will return true
if the action can spend the given amoount of Sol
Token mint
Optional
amount: bigintMinimum spendaable amount
boolean
Check if Token Spend is uncapped
Token mint
boolean
Check if the action can interact with a given program
ID of the Program to interact with
boolean
Check if root action is present
boolean
Gets the spend limit for a SOL. Return null if the spend is uncapped.
bigint
| null
Get token SpendController for the actions
Token mint
SpendController
Gets the spend limit for a given token mint. Return null if the spend is uncapped.
Token mint
bigint
| null
Static
fromCreates a new action
Buffer of a given number of actions
number of actions
Actions
Static
setReturns a builder for chaining actions together.
Call .set()
at the end of the chain to put these actions together
ActionsBuilder
Utility class from managing actions grouped together.