Function broadcastTransaction

  • Broadcast the signed transaction to a core node

    Returns

    that resolves to a response if the operation succeeds

    Parameters

    • transaction: StacksTransaction

      the token transfer transaction to broadcast

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

      the Stacks network to broadcast transaction to

    • Optional attachment: Uint8Array

    Returns Promise<TxBroadcastResult>

Generated using TypeDoc