Build a post-stake bitcoin staking transaction

Build a bitcoin staking transaction for use with the post-stake flow. Only available on testnet

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Public key in hex format (compressed or uncompressed)

string
required

Staking address (must be valid for current network)

number
required

Amount in satoshis

number
required

Time lock in blocks

utxos
array of objects

Array of UTXOs to use for the transaction

utxos
boolean
Defaults to false

Whether to automatically fund the transaction

number

Fee rate in satoshis per byte

Headers
string
required

piertwo api key

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json