⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
eos
EOS (EOS)

Method: POST get_kv_table_rows

dropdown

# get_kv_table_rows example for EOS (EOS)

POST get_kv_table_rows

Method not allowed

Returns an object containing rows from the specified kv table.

Parameters

code - string

The name of the smart contract that controls the provided table

table - string

The name of the table to query

index_name - string

The name of primary or secondary index

encode_type - string

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

index_value - string

index value used for point query encoded as 'encode_type'

lower_bound - string

optional

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

upper_bound - string

optional

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

limit - integer

optional, default 10

Limit number of results returned.

reverse - boolean

optional, default false

Reverse the order of returned results

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/get_kv_table_rows' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}