Skip to main content

Get all receipts of the latest block

GET 

//v1/chain/core/blocklog/blocks/latest/receipts

Get all receipts of the latest block

Request

Query Parameters

    block string

    Block index or trie root

Responses

The receipts

Schema
  • Array [
  • blockIndexint32required

    Possible values: >= 1

    errorMessagestring
    gasBudgetstringrequired

    The gas budget (uint64 as string)

    gasBurnLog BurnRecord[]required
  • Array [
  • codeint32required
    gasBurnedint64required
  • ]
  • gasBurnedstringrequired

    The burned gas (uint64 as string)

    gasFeeChargedstringrequired

    The charged gas fee (uint64 as string)

    rawError UnresolvedVMErrorJSON
    codestring
    paramsstring[]
    request RequestJSONrequired
    allowance AssetsJSONrequired
    coins CoinJSON[]required
  • Array [
  • balancestringrequired

    The balance (uint64 as string)

    coinTypestringrequired
  • ]
  • objects IotaObject[]required
  • Array [
  • idint32[]required
    type ObjectTyperequired
    sstring
  • ]
  • assets AssetsJSONrequired
    coins CoinJSON[]required
  • Array [
  • balancestringrequired

    The balance (uint64 as string)

    coinTypestringrequired
  • ]
  • objects IotaObject[]required
  • Array [
  • idint32[]required
    type ObjectTyperequired
    sstring
  • ]
  • callTarget CallTargetJSONrequired
    contractHNamestringrequired

    The contract name as HName (Hex)

    functionHNamestringrequired

    The function name as HName (Hex)

    gasBudgetstringrequired

    The gas budget (uint64 as string)

    isEVMbooleanrequired
    isOffLedgerbooleanrequired
    paramsstring[]required
    requestIdstringrequired
    senderAccountstringrequired
    requestIndexint32required

    Possible values: >= 1

    storageDepositChargedstringrequired

    Storage deposit charged (uint64 as string)

  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/v1/chain/core/blocklog/blocks/latest/receipts");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Parameters
— query
ResponseClear

Click the Send API Request button above and see the response here!