Powered by Stoplight
get

/btc/transaction/{hash}

Returns the transaction status for a bitcoin transaction. The confirmation of a transaction correlates with the selected header-bitcoin-tx-confirmations header value.

Authorization

apiKey - tangany-subscription
apiKey - tangany-client-id
apiKey - tangany-client-secret

Request Parameters

1 Path Parameter
3 Headers

Responses

Server response for a bitcoin transaction status

4 Headers
1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
status
string

Life cycle status for a blockchain transaction.

Status Description
unknown The transaction could not be found in the current blockchain memory pool or does not exist on the blockchain
pending The transaction is yet to be included into a new block or did not gather enough confirmation blocks to be considered valid
confirmed The transaction was mined successfully and gathered a secure amount of transaction confirmations
error The transaction could not be included into a block due to an error or did encounter an error executing a smart-contract
1 validation + required
confirmations
number or null

Amount of confirmations blocks that were mined on top of the transaction inclusion block. Equals null when the transaction is yet to be mined

1 validation + required
blockNr
number or null

Blockchain block number the transaction was included in. Equals null when the transaction was not yet included in any block

1 validation + required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
hash
$$.env
3 variables not set
tangany-subscription
tangany-client-id
tangany-client-secret