MCPcopy Create free account
hub / github.com/dfinity/bitcoin-developer-preview / build_transaction

Function build_transaction

examples/common/src/lib.rs:22–84  ·  view source on GitHub ↗

Builds a transaction that sends the given `amount` of satoshis to the `destination` address.

(
    utxos: Vec<Utxo>,
    source: Address,
    destination: Address,
    amount: u64,
    fees: u64,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sendFunction · 0.50

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected