Skip to content

API Reference: v1


/v1/history/get_actions

POST

Summary

get actions

Description

legacy get actions query

Request Body
{
  "account_name": "string",
  "pos": 0,
  "offset": 0,
  "filter": "string",
  "sort": "desc",
  "after": "2020-01-17T19:51:03.618Z",
  "before": "2020-01-17T19:51:03.618Z",
  "parent": 0
}
Schema
variable type description
account_name string
minLength: 1 maxLength: 12
notified account
pos integer action position (pagination)
offset integer limit of [n] actions per page
filter string
minLength: 3
code:name filter
sort string sort direction
Enum: [ desc, asc, 1, -1 ]
after string($date-time) filter after specified date (ISO8601)
before string($date-time) filter before specified date (ISO8601)
parent integer
minimum: 0
filter by parent global sequence
Responses
Code Description
200
Example
curl -X POST "https://eos.hyperion.eosrio.io/v1/history/get_actions"


/v1/history/get_controlled_accounts

POST

Summary

get controlled accounts by controlling accounts

Description

get controlled accounts by controlling accounts

Request Body Required
{
  "controlling_account": "string"
}
Schema
variable type description
controlling_account string controlling account
Responses
Code Description
200
Example
curl -X POST "https://eos.hyperion.eosrio.io/v1/history/get_controlled_accounts" -d '{"controlling_account":"eosio"}'


/v1/history/get_key_accounts

POST

Summary

get accounts by public key

Description

get accounts by public key

Request Body Required
{
  "public_key": "string"
}
Schema
variable type description
public_key public key public key
Responses
Code Description
200 Default Response
Example
curl -X POST "https://eos.hyperion.eosrio.io/v1/history/get_key_accounts" -d '{"public_key":"EOS8fDDZm7ommT5XBf9MPYkRioXX6GeCUeSNkTpimdwKon5bNAVm7"}'
Code Description
200


/v1/history/get_transaction

POST

Summary

get transaction by id

Description

get all actions belonging to the same transaction

Request Body Required
{
  "id": "string"
}
Schema
variable type description
id string transaction id
Responses
Code Description
200 Default Response
Example
curl -X POST "https://eos.hyperion.eosrio.io/v1/history/get_transaction"


/v1/chain/get_block

POST

Summary

Returns an object containing various details about a specific block on the blockchain.

Description

Returns an object containing various details about a specific block on the blockchain.

Request Body
{
  "block_num_or_id": "string"
}
Schema

block_num_or_id* -> string -> Provide a block number or a block id

Responses
Code Description
200 Default Response
Example
curl -X POST "https://eos.hyperion.eosrio.io/v1/chain/get_block" -d '{"block_num_or_id": "1000"}'


/v1/trace_api/get_block

POST

Summary

Get block traces.

Description

Get block traces.

Request Body
{
  "block_num": 0,
  "block_id": "string"
}
Schema

block_num -> integer -> block number block_id -> string -> block id

Responses
Code Description
200 Default Response
Examples

Get block 10000:

curl -X POST --url https://wax.hyperion.eosrio.io/v1/trace_api/get_block --data '{"block_num": 10000}' --header 'content-type: application/json'

Get latest block:

curl -X POST --url https://wax.hyperion.eosrio.io/v1/trace_api/get_block --data '{"block_num": -1}' --header 'content-type: application/json'

By block_id:

curl -X POST --url https://wax.hyperion.eosrio.io/v1/trace_api/get_block --data '{"block_id": "0307e42d3b2328805606929438411aa78dffb1756b2a0bcb2a9f7ce8a7035990"}' --header 'content-type: application/json'