signTransaction
Signs a Bitcoin transaction with inputs and outputs. User must confirm transaction details on device.Array of transaction inputs.
Array of transaction outputs.
Coin name (e.g.,
Bitcoin, Litecoin, btc, ltc).Referenced transactions (previous transactions for inputs).
Account information with addresses and transactions.
Transaction locktime.
Transaction timestamp (Peercoin).
Transaction version.
Transaction expiry (Zcash).
Overwintered flag (Zcash).
Version group ID (Zcash).
Branch ID (Zcash).
Broadcast transaction to network after signing.
Use preauthorized flow (for coinjoin).
Display unit:
BITCOIN, MILLIBITCOIN, MICROBITCOIN, SATOSHI.Unlock path configuration.
Return serialized transaction.
Coinjoin request parameters.
Split large requests into chunks.
Array of signature strings (hex).
Serialized transaction in hex format.
Witness data for SegWit transactions.
Transaction ID (hash).
signMessage
Signs a message using the private key derived from the given path.BIP32 derivation path.
Coin name or shortcut.
Message to sign (UTF-8 string or hex).
Interpret message as hex string.
Don’t include script type in signature.
Address corresponding to the signing key.
Message signature (base64).
verifyMessage
Verifies a message signature.Address that signed the message.
Message signature (base64).
Original message that was signed.
Coin name or shortcut.
Interpret message as hex string.
Whether signature is valid.
composeTransaction
Composes a Bitcoin transaction from given outputs, automatically selecting inputs and calculating fees.Desired transaction outputs.
Coin name.
Account information with UTXOs and addresses.
Fee levels to compute (e.g.,
[{feePerUnit: '10'}]).Default sequence number.
Whether composition succeeded.
Composed transaction ready for signing, or error.
authorizeCoinjoin
Authorizes coinjoin transactions for privacy-enhanced Bitcoin transactions.Account derivation path.
Coinjoin coordinator name.
Maximum number of coinjoin rounds.
Maximum coordinator fee rate.
Maximum mining fee per kvbyte.
Coin name (only Bitcoin supported).
Script type for coinjoin.
Whether authorization succeeded.
cancelCoinjoinAuthorization
Cancels previously authorized coinjoin session.Whether cancellation succeeded.
pushTransaction
Broadcasts a signed transaction to the blockchain network.Serialized transaction in hex format.
Coin name or shortcut.
Transaction ID after broadcasting.