Receipt
This endpoint allows you to retrieve the receipt of a transaction identified by its ID. If the transaction is not found, the response will be null
.
Path parameters
idstringRequiredExample:
The transaction ID
0xb6b5b47a5eee8b14e5222ac1bb957c0bbdc3d489850b033e3e544d9ca0cef934
Query parameters
headstringOptional
Explicitly define the ID of the head block. Best block is assumed if omitted.
Responses
200
OK
application/json
Responseall of
and
400
Bad Request
text/plain
get
GET /transactions/{id}/receipt HTTP/1.1
Host: vet.nownodes.io
Accept: */*
{
"gasUsed": 21000,
"gasPayer": "0xdb4027477b2a8fe4c83c6dafe7f86678bb1b8a8d",
"paid": "0x1236efcbcbb340000",
"reward": "0x576e189f04f60000",
"reverted": false,
"outputs": [],
"meta": {
"blockID": "0x0004f6cc88bb4626a92907718e82f255b8fa511453a78e8797eb8cea3393b215",
"blockNumber": 325324,
"blockTimestamp": 1533267900,
"txID": "0x284bba50ef777889ff1a367ed0b38d5e5626714477c40de38d71cedd6f9fa477",
"txOrigin": "0xdb4027477b2a8fe4c83c6dafe7f86678bb1b8a8d"
}
}