Fetch the current chain tip.
Current chain height, median-time-past, and block hash
time is the tip's median-time-past, not the header's own nTime.
BIP-113 evaluates seconds-typed OP_CHECKLOCKTIMEVERIFY /
OP_CHECKSEQUENCEVERIFY against MTP, which lags the tip by roughly an
hour; the header time may sit two hours ahead of it. An implementation
returning the header time calls a timelock mature before the network
does — surfacing as a broadcast the node rejects, not as a bug here.
Fetch spendable onchain outputs for an address.
Bitcoin address to query
Spendable onchain outputs for the address
Fetch the raw wire-format bytes of a transaction.
Transaction id to fetch
Serialized transaction bytes
Fetch transactions associated with an address.
Bitcoin address to query
Transactions involving the address
Fetch outspend information for every output in a transaction.
Transaction id to inspect
Per-output spend status information. txid (the spender) may be
absent even when spent is true: some Esplora deployments
(e.g. mempool.arkade.sh) omit it from /outspends.
Watch a set of addresses and invoke the callback when transactions are observed.
Addresses to monitor
Callback invoked when matching transactions are seen
Stop function that cancels the watch
Broadcast a single transaction or a 1P1C package.