Skip to main content

query.provider.posttransactiontochain

Home > @blaze-cardano/query > 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.