Skip to content

SDK Updates for Protocol 26 Compatibility #782

@Ryang-21

Description

@Ryang-21

Protocol 26: SDK Changes

XDR Changes

  • XDR should be upgraded to stellar-xdr@cff714a (this is the 26.0 tag). This includes handling the new operation result codes (e.g. ClaimClaimableBalanceResultCode has a new CLAIM_CLAIMABLE_BALANCE_TRUSTLINE_FROZEN).

RPC Changes

  • getLatestLedger has additional new fields (see: stellar-rpc#554 for the schema change):
interface GetLatestLedgerResponse {
  // ... existing fields
  ledgerCloseTime: string // stringified int64 unix timestamp
  headerXdr: string // base64-encoded LedgerHeader
  metadataXdr: string // base64-encoded LedgerCloseMeta
}

Reference Implementations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions