getReceipt
GET
/v1/explorer/receipts/{receipt_hash}
const url = 'https://testnet-rpc.necter.network/v1/explorer/receipts/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://testnet-rpc.necter.network/v1/explorer/receipts/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”receipt_hash
required
string
Responses
Section titled “Responses”Execution receipt (with signatures) or reward receipt v1/v2
Media typeapplication/json
object
kind
required
string
receipt
required
Execution receipt envelope, § Reward receipt, or
object
rounds
Array<string>
settlement
object
status
open: the epoch has no attested receipt yet (nothing to settle)
string
tx_hash
string
block_number
integer
claimable_at
integer
error
string | null
Example
{ "kind": "execution", "settlement": { "status": "open" }}not_found
Media typeapplication/json
object
error
required
Stable machine code
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example generated
{ "error": "example", "message": "example", "details": {}, "request_id": "example"}