@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

    • Looks up the on-chain transaction signature for a given idempotency key. Returns the signature if the mint has been executed, or null if not.

      Parameters

      • __namedParameters: { idempotencyKey: string }

      Returns Promise<string | null>

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

      Authority and payer default to the backoffice wallet service values but can be overridden for external signers (e.g. Utila MPC).

      Parameters

      • __namedParameters: {
            amount: number;
            authority?: Address;
            idempotencyKey: string;
            payer?: Address;
            targetWallet: Address;
            token: "MOVEUSD";
        }
        • amount: number
        • Optionalauthority?: Address

          Override for external signers (e.g. Utila MPC). Defaults to backoffice MINTFX_AUTHORITY.

        • idempotencyKey: string
        • Optionalpayer?: Address

          Override for external signers (e.g. Utila MPC). Defaults to backoffice PAYER.

        • targetWallet: Address
        • token: "MOVEUSD"

      Returns Promise<TransactionInstruction[]>