Interface GetTableRowsParamsTyped<Index, Row>

Type Parameters

Hierarchy

Properties

code: NameType

The name of the smart contract that controls the provided table.

index_position?: "primary" | "secondary" | "tertiary" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth"

Position of the index used, defaults to primary.

json?: boolean

Whether node should try to decode row data using code abi. Determined automatically based the type param if omitted.

limit?: UInt32Type

How many rows to fetch, defaults to 10 if unset.

lower_bound?: Index

Lower lookup bound.

reverse?: boolean

Whether to iterate records in reverse order.

scope?: string | TableIndexType

The account to which this data belongs, if omitted will be set to be same as code.

show_payer?: boolean

Set to true to populate the ram_payers array in the response.

table: NameType

Name of the table to query.

type: Row

Result type for each row.

upper_bound?: Index

Upper lookup bound.

Generated using TypeDoc