Horizon v2.31.0 and RPC v21.4.0 updates
·
46 commits
to master
since this release
Updates for Horizon v2.31.0
(see: #100)
- The new Horizon API endpoint: POST
/transactions_async
has been added.
It is now covered in the sdk by following new methods:
sdk.submitAsyncTransaction()
sdk.submitAsyncFeeBumpTransaction()
sdk.submitAsyncTransactionEnvelopeXdrBase64()
see also: transaction_async_test.dart
- Error schema change: POST
/transactions
now includes a the hash in its timeout response:
When submitting a transaction to the network, the sdk can throw the exception SubmitTransactionTimeoutResponseException
This exception now contains the hash of the transaction if available.
Updates for RPC v21.4.0
(see: #100)
- 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.
Update SEP support for web
The sdk now allows developers to set custom request headers for the SEP requests.
Although the sdk does not yet offer full support for web, this is a step that brings us closer to it,
because it helps us to avoid CORS issues.