Skip to content

horizonclient-v12.0.0 & txnbuild

Compare
Choose a tag to compare
@urvisavla urvisavla released this 18 Sep 20:27
86d1e0d

First version of Horizon Client with protocol 20:Soroban support.

What's Changed

New XDR Schema:

  • Support for new XDR schemas.

  • Three new operations related to Soroban and state expiration (see Interacting with Soroban via Stellar and State Expiration):

    • invokeHostFunctionOp: Invoke contract actions.
    • bumpExpirationFootprintOp: Bump expiration ledger of specified keys.
    • restoreFootprintOp: Restore expiration of specified ledger keys.

Horizon API Changes:

  • /effects can produce two new effects:
    • contract_credited occurs when a Stellar asset moves into its corresponding Stellar Asset Contract instance
    • contract_debited occurs when a Stellar asset moves out of its corresponding Stellar Asset Contract instance
  • /assets/:name contains two new fields:
    • num_contracts - the integer quantity of contracts that hold this asset
    • contracts_amount - the total units of that asset held by contracts
  • /operations has three new response schemas corresponding to the Soroban operations (described above)