Flow JVM SDK v2.1.1 Release Notes

Key updates included the Flow JVM SDK version 2.1.1 release:

  1. Update FlowAccessAPI models to match latest version of Flow protobuf (non-breaking changes). This update returns a more thorough Access API response with additional fields for the below classes:
  • FlowBlockHeader
  • FlowBlockSeal
  • FlowBlockPayload
  • FlowCollectionGuarantee
  • FlowTransactionResult
  • FlowNodeVersionInfo, FlowCompatibleRange
  1. New FlowAccessAPI/AsyncFlowAccessAPI methods added, along with runnable examples for each (non-breaking changes):
  • GetAccountBalance
  • GetSystemTransaction, GetSystemTransactionResult
  • GetExecutionResultById
  • GetAccountKey
  • GetCollectionById, GetFullCollectionById
  • GetProtocolStateSnapshotByBlockId, GetProtocolStateSnapshotByHeight
  • GetTransactionResultByIndex

Runnable examples for each of the new endpoints can be found at: flow-jvm-sdk/kotlin-example at main ยท onflow/flow-jvm-sdk ยท GitHub (Kotlin).

We anticipate to add support for updated Access API streaming methods in Q1 2025, pending web socket changes in the flow-go access node.

1 Like