v13.0.0-rc.1
Pre-release
Pre-release
v13.0.0-rc.1
: Protocol 22
Breaking Changes
-
Deprecated RPC APIs have been removed (#1084):
simulateTransaction
'scost
field is removedgetEvents
returns acursor
field that matchespagingToken
andid
getTransactions
returns atxHash
field
-
Horizon Server API types: removed fields
transaction_count
,base_fee
, andbase_reserve
(deprecated since v10.0.1) -
SentTransaction.init
andnew SentTransaction
now take one (1) argument instead of two (2). The first argument had previously been deprecated and ignored. To update:-SentTransaction(nonsense, realStuff) +SentTransaction(realStuff) -new SentTransaction(nonsense, realStuff) +new SentTransaction(realStuff)
-
SorobanRpc
import, previously deprecated, has been removed. You can importrpc
instead:-import { SorobanRpc } from '@stellar/stellar-sdk' +import { rpc } from '@stellar/stellar-sdk'
As an alternative, you can also import from the
rpc
entrypoint:import { Server } from '@stellar/stellar-sdk/rpc'
Added
rpc.Server
now has apollTransaction
method to retry transaction retrieval (#1092).
Full Changelog: v13.0.0-beta.1...v13.0.0-rc.1