Portal Community

get

Returns full transaction details for a txid. Esplora's own JSON shape is returned as-is.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID (hex).
networkselectNoDefaults to Bitcoin:DefaultNetwork.

getStatus

Returns just the confirmation state — lighter than get when that's all you need.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID.
networkselectNoDefaults to Bitcoin:DefaultNetwork.

Example response:

{
  "confirmed": true,
  "blockHeight": 831422,
  "blockHash": "00000000000000000001a2b3...",
  "blockTime": 1717000000
}

All three block fields are null while confirmed is false.

getHex

Returns the transaction's raw hex encoding.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID.
networkselectNoDefaults to Bitcoin:DefaultNetwork.

getMerkleProof

Returns the transaction's Merkle inclusion proof against its containing block.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID.
networkselectNoDefaults to Bitcoin:DefaultNetwork.

getOutspend

Returns whether a specific output of a transaction has been spent, and by what.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID.
voutnumberNo (default 0)Output index to check.
networkselectNoDefaults to Bitcoin:DefaultNetwork.

getOutspends

Returns spend status for every output of a transaction in one call.

FieldTypeRequiredDescription
txidtext✓ YesTransaction ID.
networkselectNoDefaults to Bitcoin:DefaultNetwork.

broadcast

Submits a raw signed transaction to the network. This is the final step after psbt/extract produces the raw hex — it does not wrap or reinterpret it in any way.

FieldTypeRequiredDescription
rawTransactionHextext✓ YesFully-signed raw transaction hex (from psbt/extract).
expectedTxidtextNoIf supplied, the node can cross-check this is the transaction you expect before submitting.
networkselect✓ YesFund-moving — must be explicit.

Example response:

{
  "txid": "8f3c...e21a",
  "alreadyKnown": false
}
Response FieldMeaning
txidBare txid string — a real Esplora broadcast endpoint returns just the id, not a nested status object. Poll getStatus separately for confirmation.
alreadyKnowntrue when this exact transaction was already accepted or confirmed — an "already known" rejection from Esplora is treated as an idempotent success, not an error, so a lost-response retry never falsely reports failure for a broadcast that actually went through.
broadcast is irreversible. Once accepted by the network, a broadcast transaction cannot be recalled. Verify the PSBT's outputs match your intent before extracting and broadcasting — see PSBT Signing Pipeline for the fund-safety checks enforced earlier in the pipeline.