Function multisigAddSpendingLimit
- multisigAddSpendingLimit(__namedParameters): Promise<TransactionSignature>
Parameters
__namedParameters: {
amount: bigint;
configAuthority: PublicKey;
connection: Connection;
createKey: PublicKey;
destinations: PublicKey[];
feePayer: Signer;
members: PublicKey[];
memo?: string;
mint: PublicKey;
multisigPda: PublicKey;
period: Period;
programId?: PublicKey;
rentPayer: Signer;
sendOptions?: SendOptions;
signers?: Signer[];
spendingLimit: PublicKey;
vaultIndex: number;
}
amount: bigint
configAuthority: PublicKey
connection: Connection
createKey: PublicKey
destinations: PublicKey[]
feePayer: Signer
members: PublicKey[]
Optional
memo?: string
mint: PublicKey
multisigPda: PublicKey
Optional
programId?: PublicKey
rentPayer: Signer
Optional
sendOptions?: SendOptions
Optional
signers?: Signer[]
spendingLimit: PublicKey
vaultIndex: number
Returns Promise<TransactionSignature>
Create a new spending limit for the controlled multisig.