@cfxlabsinc/b2b-services
    Preparing search index...

    Interact with Solana Mintfx program and related components

    This service is aware token mints and configuration

    Index

    Constructors

    Properties

    solanaTokenService: SolanaTokenService
    tokenData: Record<MintfxToken, MintfxTokenData>

    Methods

    • Token transfer instruction and create ATA instructions (if required)

      Parameters

      • __namedParameters: { authority: PublicKey; idempotencyKey: string; token: "MOVEUSD" }

      Returns Promise<TransactionInstruction[]>

    • Token transfer instruction and create ATA instructions (if required)

      Parameters

      • __namedParameters: {
            amount: number;
            authority: PublicKey;
            idempotencyKey: string;
            payer: PublicKey;
            token: "MOVEUSD";
            walletId: string;
        }

      Returns Promise<TransactionInstruction[]>

    • Token transfer instruction and create ATA instructions (if required)

      Parameters

      • __namedParameters: {
            authority: PublicKey;
            idempotencyKey: string;
            payer: PublicKey;
            refundWalletId: string;
            skipTargetAtaCreate?: boolean;
            token: "MOVEUSD";
        }

      Returns Promise<TransactionInstruction[]>