Getrawtransaction

Gets a raw transaction that is present on this full node.

get

This method first searches the transaction pool and then tries the block store.

Requires txindex=1, otherwise only transactions that spend or create UTXOs for a stored wallet can be returned.

Query parameters
trxidstringOptional

The transaction ID (a hash of the trancaction).

verbosebooleanOptional

A flag that specifies whether to return verbose information about the transaction.

Default: false
Responses
200
Returns the transaction
get
GET /api/Node/getrawtransaction HTTP/1.1
Host: strax.nownodes.io
Accept: */*

No content