UNPKG

@metaplex-foundation/mpl-toolbox

Version:

Auto-generated essential Solana and Metaplex programs

20 lines (19 loc) 946 B
/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/metaplex-foundation/kinobi */ import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type RevokeTokenDelegateInstructionAccounts = { source: PublicKey | Pda; owner: Signer; }; export type RevokeTokenDelegateInstructionData = { discriminator: number; }; export type RevokeTokenDelegateInstructionDataArgs = {}; export declare function getRevokeTokenDelegateInstructionDataSerializer(): Serializer<RevokeTokenDelegateInstructionDataArgs, RevokeTokenDelegateInstructionData>; export declare function revokeTokenDelegate(context: Pick<Context, 'programs'>, input: RevokeTokenDelegateInstructionAccounts): TransactionBuilder;