• Parameters

    • transaction: StacksTransaction

      the token transfer transaction to estimate fees for

    • Optional network: "mainnet" | "testnet" | "devnet" | "mocknet" | StacksNetwork

      the Stacks network to estimate transaction for

    Returns Promise<bigint>

    a promise that resolves to number of microstacks per byte

    Deprecated

    Use the new estimateTransaction function instead.

    Estimate the total transaction fee in microstacks for a token transfer

Generated using TypeDoc