Bitcoinex.PSBT (bitcoinex v0.1.2) View Source

Support for Partially Signed Bitcoin Transactions (PSBT).

The format consists of key-value maps. Each map consists of a sequence of key-value records, terminated by a 0x00 byte.

Reference: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki

Link to this section Summary

Functions

Decodes a base64 encoded string into a PSBT.

Link to this section Functions

Specs

decode(String.t()) ::
  {:ok, %Bitcoinex.PSBT{global: term(), inputs: term(), outputs: term()}}
  | {:error, term()}

Decodes a base64 encoded string into a PSBT.