curl --request POST \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/psbt/decode \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '"<string>"'
{
"data": {
"fee": 123,
"global_xpubs": [
"<any>"
],
"inputs": [
{
"bip32_derivs": [
{
"master_fingerprint": "<string>",
"path": "<string>",
"pubkey": "<string>"
}
],
"non_witness_utxo": {
"hash": "<string>",
"locktime": 123,
"size": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"sequence": 123,
"txid": "<string>",
"vout": 123
}
],
"vout": [
{
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"value": 123
}
],
"vsize": 123,
"weight": 123
},
"witness_utxo": {
"amount": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
}
}
}
],
"outputs": [
{
"bip32_derivs": [
{
"master_fingerprint": "<string>",
"path": "<string>",
"pubkey": "<string>"
}
]
}
],
"proprietary": [
"<any>"
],
"psbt_version": 123,
"tx": {
"hash": "<string>",
"locktime": 123,
"size": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"sequence": 123,
"txid": "<string>",
"vout": 123
}
],
"vout": [
{
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"value": 123
}
],
"vsize": 123,
"weight": 123
},
"unknown": {}
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Takes a signed PSBT hex and returns the internal structure. Covers UTXO metadata, BIP32 deriv paths, inputs/outputs, etc. Useful for hardware wallet or multisig integrations.
curl --request POST \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/psbt/decode \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '"<string>"'
{
"data": {
"fee": 123,
"global_xpubs": [
"<any>"
],
"inputs": [
{
"bip32_derivs": [
{
"master_fingerprint": "<string>",
"path": "<string>",
"pubkey": "<string>"
}
],
"non_witness_utxo": {
"hash": "<string>",
"locktime": 123,
"size": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"sequence": 123,
"txid": "<string>",
"vout": 123
}
],
"vout": [
{
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"value": 123
}
],
"vsize": 123,
"weight": 123
},
"witness_utxo": {
"amount": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
}
}
}
],
"outputs": [
{
"bip32_derivs": [
{
"master_fingerprint": "<string>",
"path": "<string>",
"pubkey": "<string>"
}
]
}
],
"proprietary": [
"<any>"
],
"psbt_version": 123,
"tx": {
"hash": "<string>",
"locktime": 123,
"size": 123,
"txid": "<string>",
"version": 123,
"vin": [
{
"scriptSig": {
"asm": "<string>",
"hex": "<string>"
},
"sequence": 123,
"txid": "<string>",
"vout": 123
}
],
"vout": [
{
"n": 123,
"scriptPubKey": {
"address": "<string>",
"asm": "<string>",
"desc": "<string>",
"hex": "<string>",
"type": "<string>"
},
"value": 123
}
],
"vsize": 123,
"weight": 123
},
"unknown": {}
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Project API Key
Signed PSBT Hex.
The body is of type string
.
OK
The response is of type object
.