solana-framework
Version:
solana-framework is solana uni-tools for typescript
45 lines • 1.61 kB
TypeScript
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
/**
* @category Instructions
* @category FreezeDelegatedAccount
* @category generated
*/
export declare const FreezeDelegatedAccountStruct: beet.BeetArgsStruct<{
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _FreezeDelegatedAccount_ instruction
*
* @property [_writable_, **signer**] delegate Delegate
* @property [_writable_] tokenAccount Token account to freeze
* @property [] edition Edition
* @property [] mint Token mint
* @category Instructions
* @category FreezeDelegatedAccount
* @category generated
*/
export type FreezeDelegatedAccountInstructionAccounts = {
delegate: web3.PublicKey;
tokenAccount: web3.PublicKey;
edition: web3.PublicKey;
mint: web3.PublicKey;
tokenProgram?: web3.PublicKey;
};
export declare const freezeDelegatedAccountInstructionDiscriminator = 26;
/**
* Creates a _FreezeDelegatedAccount_ instruction.
*
* @param accounts that will be accessed while the instruction is processed
* @category Instructions
* @category FreezeDelegatedAccount
* @category generated
*/
export declare function createFreezeDelegatedAccountInstruction(accounts: FreezeDelegatedAccountInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=FreezeDelegatedAccount.d.ts.map