Function spendingLimitUse
- spendingLimitUse(__namedParameters): Promise<TransactionSignature>
Parameters
__namedParameters: {
amount: number;
connection: Connection;
decimals: number;
destination: PublicKey;
feePayer: Signer;
member: Signer;
memo?: string;
mint?: PublicKey;
multisigPda: PublicKey;
programId?: PublicKey;
sendOptions?: SendOptions;
spendingLimit: PublicKey;
tokenProgram?: PublicKey;
vaultIndex: number;
}
amount: number
connection: Connection
decimals: number
destination: PublicKey
feePayer: Signer
member: Signer
Optional
memo?: string
Optional
mint?: PublicKey
multisigPda: PublicKey
Optional
programId?: PublicKey
Optional
sendOptions?: SendOptions
spendingLimit: PublicKey
Optional
tokenProgram?: PublicKey
vaultIndex: number
Returns Promise<TransactionSignature>
Provide if
spendingLimit
is for an SPL token, omit if it's for SOL.