Horizon v2.31.0 and RPC v21.4.0 updates
christian-rogobete
released this
25 Jul 11:55
·
52 commits
to master
since this release
Updates for Horizon v2.31.0
(see: #161)
- The new Horizon API endpoint: POST
/transactions_async
has been added.
It is now covered in the sdk by following new methods:
sdk.transactions.submitAsyncTransaction(transaction:Transaction, ...)
sdk.transactions.submitFeeBumpAsyncTransaction(transaction:FeeBumpTransaction, ...)
sdk.transactions.postTransactionAsync(transactionEnvelope:String, ...)
see also: SubmitTransactionAsyncTestCase.swift
- Error schema change: POST
/transactions
now includes a the hash in its timeout response:
ErrorResponseExtras
has been extended. It now provides txHash
if the hash is available in the error response.
Updates for RPC v21.4.0
(see: #161)
- added support for the new endpoints:
getTransactions
,getFeeStats
andgetVersionInfo
. - fixed
getEvents
pagination options
Update SEP-12 support
- added the new
transaction_id
request parameter to get and put customer requests.