eoscanada / eos-go

EOS.IO Go API library
MIT License
563 stars 216 forks source link

The "next_key" field is missing in the GetTable rows API response #175

Open cream-cheeze opened 2 years ago

cream-cheeze commented 2 years ago

The next_key field is missing in the GetTable rows API response. It is needed to make next requests if "more" = true.

type GetTableRowsResp struct {
    More bool            `json:"more"`
    Rows json.RawMessage `json:"rows"` // defer loading, as it depends on `JSON` being true/false.
}

Original eosio v1 API returns this field.

Screenshot 2022-05-16 at 15 11 53
ygcool commented 1 year ago

+1

alexandru-calinoiu commented 1 year ago

Stumbled uppon this and added a fix here https://github.com/eoscanada/eos-go/pull/211