Skip to main content

Submitting transactions

Bitcoin

To submit transactions to the Bitcoin network, the Bitcoin API exposes the bitcoin_send_transaction method.

The following snippet shows how to send a signed transaction to the Bitcoin network:

motoko/basic_bitcoin/src/basic_bitcoin/src/BitcoinApi.mo
loading...

Resources