API Docs

Libre Public API servers are provided by validators and apps.

Please note that regardless of what the swagger docs below say there is a general rule we recommend for using /v1/ and /v2/ paths:

/v1 use POST

/v2 use GET

There is a helpful doc outlining API Methods here - (built by validator Cryptobloks)

API Service Health Report

GEThttps://api.libre.iad.cryptobloks.io/v2/health
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/health', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

fetch abi at specific block

fetch contract abi at specific block

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_abi_snapshot
Query parameters
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_abi_snapshot?contract=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

get root actions

get actions based on notified account. this endpoint also accepts generic filters based on indexed fields (e.g. act.authorization.actor=eosio or act.name=delegatebw), if included they will be combined with a AND operator

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_actions
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
simple_actionsarray of object
actionsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_actions', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "simple_actions": [
    {
      "block": 0,
      "timestamp": "text",
      "irreversible": false,
      "contract": "text",
      "action": "text",
      "actors": "text",
      "notified": "text",
      "transaction_id": "text"
    }
  ],
  "actions": [
    {
      "@timestamp": "text",
      "timestamp": "text",
      "block_num": 0,
      "block_id": "text",
      "trx_id": "text",
      "act": {
        "account": "text",
        "name": "text",
        "authorization": [
          {
            "actor": "text",
            "permission": "text"
          }
        ]
      },
      "receipts": [
        {
          "receiver": "text",
          "global_sequence": 0,
          "recv_sequence": 0,
          "auth_sequence": [
            {
              "account": "text",
              "sequence": 0
            }
          ]
        }
      ],
      "cpu_usage_us": 0,
      "net_usage_words": 0,
      "account_ram_deltas": [
        {
          "account": "text",
          "delta": 0
        }
      ],
      "global_sequence": 0,
      "producer": "text",
      "parent": 0,
      "action_ordinal": 0,
      "creator_action_ordinal": 0,
      "signatures": [
        "text"
      ]
    }
  ]
}

get created accounts

get all accounts created by one creator

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_created_accounts
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
query_timenumber
accountsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_created_accounts?account=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "query_time": 0,
  "accounts": [
    {
      "name": "text",
      "timestamp": "text",
      "trx_id": "text"
    }
  ]
}

get account creator

get account creator

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_creator
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
accountstring
creatorstring
timestampstring
block_numinteger
trx_idstring
indirect_creatorstring
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_creator?account=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "account": "text",
  "creator": "text",
  "timestamp": "text",
  "trx_id": "text",
  "indirect_creator": "text"
}

get state deltas

get state deltas

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_deltas
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
deltasarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_deltas', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "deltas": [
    {
      "timestamp": "text",
      "present": 0,
      "code": "text",
      "scope": "text",
      "table": "text",
      "primary_key": "text",
      "payer": "text",
      "block_num": 0,
      "block_id": "text"
    }
  ]
}

get producer schedule by version

get producer schedule by version

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_schedule
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
timestampstring
block_numnumber
proposed_block_numnumber
versionnumber
producersarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_schedule', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "timestamp": "text",
  "block_num": 0,
  "proposed_block_num": 0,
  "version": 0,
  "producers": [
    {
      "producer_name": "text",
      "name": "text",
      "block_signing_key": "text",
      "legacy_key": "text",
      "keys": [
        "text"
      ]
    }
  ]
}

get transaction by id

get all actions belonging to the same transaction

GEThttps://api.libre.iad.cryptobloks.io/v2/history/get_transaction
Query parameters
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/history/get_transaction?id=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

get account summary

get account data

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_account
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
accountobject
linksarray of object
tokensarray of object
total_actionsnumber
actionsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_account?account=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "links": [
    {
      "timestamp": "text",
      "permission": "text",
      "code": "text",
      "action": "text"
    }
  ],
  "tokens": [
    {
      "symbol": "text",
      "amount": 0,
      "contract": "text"
    }
  ],
  "total_actions": 0,
  "actions": [
    {
      "@timestamp": "text",
      "timestamp": "text",
      "block_num": 0,
      "block_id": "text",
      "trx_id": "text",
      "act": {
        "account": "text",
        "name": "text",
        "authorization": [
          {
            "actor": "text",
            "permission": "text"
          }
        ]
      },
      "receipts": [
        {
          "receiver": "text",
          "global_sequence": 0,
          "recv_sequence": 0,
          "auth_sequence": [
            {
              "account": "text",
              "sequence": 0
            }
          ]
        }
      ],
      "cpu_usage_us": 0,
      "net_usage_words": 0,
      "account_ram_deltas": [
        {
          "account": "text",
          "delta": 0
        }
      ],
      "global_sequence": 0,
      "producer": "text",
      "parent": 0,
      "action_ordinal": 0,
      "creator_action_ordinal": 0,
      "signatures": [
        "text"
      ]
    }
  ]
}

get accounts by public key

get accounts by public key

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_key_accounts
Query parameters
Response

Default Response

Body
account_namesarray of string
permissionsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_key_accounts?public_key=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "account_names": [
    "text"
  ],
  "permissions": [
    {
      "owner": "text",
      "parent": "text",
      "last_updated": "text",
      "name": "text",
      "present": 0
    }
  ]
}

get accounts by public key

get accounts by public key

POSThttps://api.libre.iad.cryptobloks.io/v2/state/get_key_accounts
Body
public_key*string

public key

Response

Default Response

Body
account_namesarray of string
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_key_accounts', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "public_key": "text"
    }),
});
const data = await response.json();
Response
{
  "account_names": [
    "text"
  ]
}

get permission links

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_links
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
linksarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_links', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "links": [
    {
      "block_num": 0,
      "timestamp": "text",
      "account": "text",
      "permission": "text",
      "code": "text",
      "action": "text",
      "irreversible": false
    }
  ]
}

get proposals

get proposals

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_proposals
Query parameters
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_proposals', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

get all tokens

get tokens from an account

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_tokens
Query parameters
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_tokens?account=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

get voters

get voters

GEThttps://api.libre.iad.cryptobloks.io/v2/state/get_voters
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
votersarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/state/get_voters', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "voters": [
    {
      "account": "text",
      "weight": 0,
      "last_vote": 0
    }
  ]
}

get missed blocks

get missed blocks

GEThttps://api.libre.iad.cryptobloks.io/v2/stats/get_missed_blocks
Query parameters
Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
statsobject
eventsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v2/stats/get_missed_blocks', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "stats": {},
  "events": [
    {
      "@timestamp": "text",
      "last_block": 0,
      "schedule_version": 0,
      "size": 0,
      "producer": "text"
    }
  ]
}

get actions

legacy get actions query

POSThttps://api.libre.iad.cryptobloks.io/v1/history/get_actions
Body
account_namestring

notified account

posinteger

action position (pagination)

offsetinteger

limit of [n] actions per page

filterstring

code:name filter

sortenum

sort direction

descasc1-1
afterstring (date-time)

filter after specified date (ISO8601)

beforestring (date-time)

filter before specified date (ISO8601)

parentinteger

filter by parent global sequence

Response

Default Response

Body
query_timenumber
last_irreversible_blocknumber
actionsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/history/get_actions', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "query_time": 0,
  "last_irreversible_block": 0,
  "actions": [
    {
      "account_action_seq": 0,
      "global_action_seq": 0,
      "block_num": 0,
      "block_time": "text",
      "action_trace": {
        "action_ordinal": 0,
        "creator_action_ordinal": 0,
        "receipt": {
          "receiver": "text",
          "global_sequence": 0,
          "recv_sequence": 0,
          "auth_sequence": [
            {
              "account": "text",
              "sequence": 0
            }
          ]
        },
        "receiver": "text",
        "act": {
          "account": "text",
          "name": "text",
          "authorization": [],
          "hex_data": "text"
        },
        "trx_id": "text",
        "block_num": 0,
        "block_time": "text"
      }
    }
  ]
}

get controlled accounts by controlling accounts

get controlled accounts by controlling accounts

POSThttps://api.libre.iad.cryptobloks.io/v1/history/get_controlled_accounts
Body
controlling_account*string

controlling account

Response

Default Response

Body
controlled_accountsarray of string
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/history/get_controlled_accounts', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "controlling_account": "text"
    }),
});
const data = await response.json();
Response
{
  "controlled_accounts": [
    "text"
  ]
}

get accounts by public key

get accounts by public key

POSThttps://api.libre.iad.cryptobloks.io/v1/history/get_key_accounts
Body
public_key*string

public key

Response

Default Response

Body
account_namesarray of string
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/history/get_key_accounts', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "public_key": "text"
    }),
});
const data = await response.json();
Response
{
  "account_names": [
    "text"
  ]
}

get transaction by id

get all actions belonging to the same transaction

POSThttps://api.libre.iad.cryptobloks.io/v1/history/get_transaction
Body
id*string

transaction id

block_num_hintinteger

block number hint

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/history/get_transaction', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "id": "text"
    }),
});
const data = await response.json();

get block traces

get block traces

POSThttps://api.libre.iad.cryptobloks.io/v1/trace_api/get_block
Body
block_numinteger

block number

block_idstring

block id

Response

Default Response

Body
query_time_msnumber
cachedboolean
hot_onlyboolean
libnumber
last_indexed_blocknumber
last_indexed_block_timestring
totalobject
idstring
numberinteger
previous_idstring
statusstring
timestampstring
producerstring
transactionsarray of object
Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/trace_api/get_block', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "query_time_ms": 0,
  "cached": false,
  "hot_only": false,
  "lib": 0,
  "last_indexed_block": 0,
  "last_indexed_block_time": "text",
  "total": {
    "value": 0,
    "relation": "text"
  },
  "id": "text",
  "previous_id": "text",
  "status": "text",
  "timestamp": "text",
  "producer": "text",
  "transactions": [
    {
      "id": "text",
      "actions": [
        {
          "receiver": "text",
          "account": "text",
          "action": "text",
          "authorization": [
            {
              "account": "text",
              "permission": "text"
            }
          ]
        }
      ]
    }
  ]
}

Returns an object containing rows from the specified table.

Returns an object containing rows from the specified table.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/abi_bin_to_json
Body
code*Name

String representation of an EOSIO compatible account name

action*Name

String representation of an EOSIO compatible account name

binargs*string
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/abi_bin_to_json', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text",
      "action": "text",
      "binargs": "text"
    }),
});
const data = await response.json();

Convert JSON object to binary

Convert JSON object to binary

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/abi_json_to_bin
Body
code*Name

String representation of an EOSIO compatible account name

action*Name

String representation of an EOSIO compatible account name

args*object
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/abi_json_to_bin', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text",
      "action": "text"
    }),
});
const data = await response.json();

Retrieves the ABI for a contract based on its account name

Retrieves the ABI for a contract based on its account name

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_abi
Body
account_name*Name

String representation of an EOSIO compatible account name

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_abi', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "account_name": "text"
    }),
});
const data = await response.json();

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

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

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_account
Body
account_name*Name

String representation of an EOSIO compatible account name

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_account', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "account_name": "text"
    }),
});
const data = await response.json();

Retreives the activated protocol features for producer node

Retreives the activated protocol features for producer node

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_activated_protocol_features
Body
lower_boundinteger

Lower bound

upper_boundinteger

Upper bound

limitinteger

The limit, default is 10

search_by_block_numboolean

Flag to indicate it is has to search by block number

reverseboolean

Flag to indicate it has to search in reverse

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_activated_protocol_features', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();

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

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

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_block
Body
block_num_or_id*string

Provide a block number or a block id

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_block', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "block_num_or_id": "text"
    }),
});
const data = await response.json();

Retrieves the block header state

Retrieves the block header state

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_block_header_state
Body
block_num_or_id*string

Provide a block_number or a block_id

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_block_header_state', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "block_num_or_id": "text"
    }),
});
const data = await response.json();

Retrieves contract code

Retrieves contract code

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_code
Body
account_name*Name

String representation of an EOSIO compatible account name

code_as_wasm*integer

This must be 1 (true)

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_code', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "account_name": "text"
    }),
});
const data = await response.json();

Retrieves the current balance

Retrieves the current balance

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_currency_balance
Body
code*Name

String representation of an EOSIO compatible account name

account*Name

String representation of an EOSIO compatible account name

symbol*Symbol

A symbol composed of capital letters between 1-7.

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_currency_balance', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text",
      "account": "text"
    }),
});
const data = await response.json();

Retrieves currency stats

Retrieves currency stats

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_currency_stats
Body
code*Name

String representation of an EOSIO compatible account name

symbol*string

token symbol

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_currency_stats', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text",
      "symbol": "text"
    }),
});
const data = await response.json();

Returns an object containing various details about the blockchain.

Returns an object containing various details about the blockchain.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_info
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_info', {
    method: 'POST',
    headers: {},
});
const data = await response.json();

Retrieves producers list

Retrieves producers list

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_producers
Body
limitstring

total number of producers to retrieve

lower_boundstring

In conjunction with limit can be used to paginate through the results. For example, limit=10 and lower_bound=10 would be page 2

jsonboolean

return result in JSON format

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_producers', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();

Retrieves raw ABI for a contract based on account name

Retrieves raw ABI for a contract based on account name

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_raw_abi
Body
account_name*Name

String representation of an EOSIO compatible account name

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_raw_abi', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "account_name": "text"
    }),
});
const data = await response.json();

Retrieves raw code and ABI for a contract based on account name

Retrieves raw code and ABI for a contract based on account name

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_raw_code_and_abi
Body
account_name*Name

String representation of an EOSIO compatible account name

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_raw_code_and_abi', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "account_name": "text"
    }),
});
const data = await response.json();

Retrieves the scheduled transaction

Retrieves the scheduled transaction

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_scheduled_transaction
Body
lower_boundDateTimeSeconds

Date/time string in the format YYYY-MM-DDTHH:MM:SS.sss

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}$
limitinteger

The maximum number of transactions to return

jsonboolean

true/false whether the packed transaction is converted to json

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_scheduled_transaction', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();

Retrieves table scope

Retrieves table scope

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_table_by_scope
Body
code*string

name of the contract to return table data for

tablestring

Filter results by table

lower_boundstring

Filters results to return the first element that is not less than provided value in set

upper_boundstring

Filters results to return the first element that is greater than provided value in set

limitinteger

Limit number of results returned.

reverseboolean

Reverse the order of returned results

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_table_by_scope', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text"
    }),
});
const data = await response.json();

Returns an object containing rows from the specified table.

Returns an object containing rows from the specified table.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/get_table_rows
Body
code*string

The name of the smart contract that controls the provided table

table*string

The name of the table to query

scopestring

The account to which this data belongs

index_positionstring

Position of the index used, accepted parameters primary, secondary, tertiary, fourth, fifth, sixth, seventh, eighth, ninth , tenth

key_typestring

Type of key specified by index_position (for example - uint64_t or name)

encode_typestring
upper_boundstring
lower_boundstring
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/get_table_rows', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "code": "text",
      "table": "text"
    }),
});
const data = await response.json();

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/push_transaction
Body
signaturesarray of Signature

array of signatures required to authorize transaction

compressionboolean

Compression used, usually false

packed_context_free_datastring

json to hex

packed_trxstring

Transaction object json to hex

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/push_transaction', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/push_transactions
Body
one of
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/push_transactions', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify([]),
});
const data = await response.json();

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

This method expects a transaction in JSON format and will attempt to apply it to the blockchain.

POSThttps://api.libre.iad.cryptobloks.io/v1/chain/send_transaction
Body
signaturesarray of Signature

array of signatures required to authorize transaction

compressionboolean

Compression used, usually false

packed_context_free_datastring

json to hex

packed_trxstring

Transaction object json to hex

Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/v1/chain/send_transaction', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();

GEThttps://api.libre.iad.cryptobloks.io/stream-client.js
Response

Default Response

Request
const response = await fetch('https://api.libre.iad.cryptobloks.io/stream-client.js', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Last updated