Function broadcastTransaction

  • Broadcast the signed transaction to a core node

    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>

    that resolves to a response if the operation succeeds

Generated using TypeDoc