You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The LedgerRecord interface is missing the two fields: successful_transaction_count failed_transaction_count
these two fields are listed in our docs but missing from the js-sdk. They are however in the go-sdk.
What version are you on?
9.1.0
Additional context
Was looking for a type to handle the below code, when I realized the fields are missing
var horizon = new stellarSdk.Server("https://horizon.stellar.org");
horizon
.ledgers()
.cursor(pagingToken)
.limit(200)
.stream({
onmessage: (ledger: ServerApi.LedgerRecord) => {
ledger.successful_transaction_count // error TS2339: Property 'successful_transaction_count' does not exist on type 'LedgerRecord'.
...
The text was updated successfully, but these errors were encountered:
Describe the bug
The LedgerRecord interface is missing the two fields:
successful_transaction_count
failed_transaction_count
these two fields are listed in our docs but missing from the js-sdk. They are however in the go-sdk.
What version are you on?
9.1.0
Additional context
Was looking for a type to handle the below code, when I realized the fields are missing
The text was updated successfully, but these errors were encountered: