fbonds-core
Version:
Banx protocol sdk
24 lines (23 loc) • 722 B
TypeScript
import { web3 } from '@coral-xyz/anchor';
import { CnftParams } from '../../../../helpers';
import { FraktBond, NFTTypeDecodeEnum } from '../../../../types';
type SendNftByAdmin = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
accounts: {
userPubkey: web3.PublicKey;
fbond: FraktBond;
tree: web3.PublicKey;
};
args: {
cnftParams: CnftParams;
proof: any;
type: NFTTypeDecodeEnum;
};
sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>;
}) => Promise<{
instructions: web3.TransactionInstruction[];
signers: web3.Signer[];
}>;
export declare const sendNftByAdmin: SendNftByAdmin;
export {};