Get table rows

post

Returns an object containing rows from the specified table.

Body
codestringRequired

The name of the smart contract that controls the provided table

tablestringRequired

The name of the table to query

scopestringRequired

The account to which this data belongs

index_positionstringOptional

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

key_typestringOptional

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

encode_typestringOptional
lower_boundstringOptional

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

upper_boundstringOptional

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

limitinteger · int32Optional

Limit number of results returned.

Default: 10
reversebooleanOptional

Reverse the order of returned results

Default: false
show_payerbooleanOptional

Show RAM payer

Default: false
Responses
application/json
objectOptional
post
POST /v1/chain/get_table_rows HTTP/1.1
Host: eos.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 193

{
  "code": "text",
  "table": "text",
  "scope": "text",
  "index_position": "text",
  "key_type": "text",
  "encode_type": "text",
  "lower_bound": "text",
  "upper_bound": "text",
  "limit": 1,
  "reverse": true,
  "show_payer": true
}
200

OK

{
  "rows": []
}