horizonclient-v12.0.0 & txnbuild
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 instancecontract_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 assetcontracts_amount
- the total units of that asset held by contracts
/operations
has three new response schemas corresponding to the Soroban operations (described above)