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

    Interact with Solana Mintfx program and related components

    This service is aware token mints and configuration

    Index

    Constructors

    Methods

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

      Parameters

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

      Returns Promise<TransactionInstruction[]>

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

      Parameters

      • __namedParameters: {
            amount: number;
            idempotencyKey: string;
            ledgerAccountId: string;
            token: "MOVEUSD";
        }

      Returns Promise<TransactionInstruction[]>

    • Fetch every idempotent redemption PDA owned by the mintfx program.

      Returns Promise<
          {
              address: string;
              amount: string;
              redeemer: string;
              stage: "submitted"
              | "committed"
              | "voided";
              tokenId: string;
              type: "Redemption";
          }[],
      >

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

      Parameters

      • __namedParameters: { idempotencyKey: string; refundLedgerAccountId: string; token: "MOVEUSD" }

      Returns Promise<TransactionInstruction[]>