Skip to content

Commit

Permalink
Merge pull request #138 from crazybits/master
Browse files Browse the repository at this point in the history
add new parameter of the GetTableRows api
  • Loading branch information
Matthieu Vachon authored Apr 21, 2020
2 parents 2adb25b + a73294e commit 0a84410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ type GetTableRowsRequest struct {
KeyType string `json:"key_type,omitempty"` // The key type of --index, primary only supports (i64), all others support (i64, i128, i256, float64, float128, ripemd160, sha256). Special type 'name' indicates an account name.
Index string `json:"index_position,omitempty"` // Index number, 1 - primary (first), 2 - secondary index (in order defined by multi_index), 3 - third index, etc. Number or name of index can be specified, e.g. 'secondary' or '2'.
EncodeType string `json:"encode_type,omitempty"` // The encoding type of key_type (i64 , i128 , float64, float128) only support decimal encoding e.g. 'dec'" "i256 - supports both 'dec' and 'hex', ripemd160 and sha256 is 'hex' only
Reverse bool `json:"reverse,omitempty"` // Get rows in reverse of the index
JSON bool `json:"json"` // JSON output if true, binary if false
}

Expand Down

0 comments on commit 0a84410

Please sign in to comment.