Skip to main content
Version: 0.2.38

sdk.provider.posttransactiontochain

Home > @blaze-cardano/sdk > Provider > postTransactionToChain

Provider.postTransactionToChain() method

Posts a given transaction to the chain.

Signature:

abstract postTransactionToChain(tx: Transaction): Promise<TransactionId>;

Parameters

Parameter

Type

Description

tx

Transaction

The transaction to post to the chain.

Returns:

Promise<TransactionId>

{Promise} - The id of the posted transaction.