Powered by Stoplight
get

/eth/transaction/{hash}

Returns the status for an Ethereum transaction. The transaction is confirmed when the amount of confirmation blocks is equal or greater to the header-ethereum-tx-confirmations header value

Authorization

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

Request Parameters

1 Path Parameter
3 Headers

Responses

Server response for an Ethereum transaction status

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

true when Ethereum declines to mine the transaction. This can happen when the transaction is fueled with insufficient amount of gas or some other error occurs during contract execution. false means the transaction executed successfully

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
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
data
string or null

Hexadecimal Ethereum transaction data. This field can be used to interact with arbitrary Ethereum smart contracts

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-secret
tangany-client-id