Transaction Submission Test Using Horizon API

Using JS Worker SDK

Optional: only if "custom" network selected above

Network

Information about the currently selected network

Example Code

Build

Build a Transaction to Submit

const secretKey = 'S...' const { response } = await horizon.submit(transaction, secretKey)

Transaction Input Object

View the transaction as the simple object used as the input

Transaction input object

Transaction XDR Object

View the transaction as an object ready to consume by the [SimpleXDR](https://github.com/Cloudouble/simple-xdr) helper library

Transaction as a SimpleXDR object

Transaction Hash

View the hash of the transaction that will be signed in hex format

Transaction hash

Signatures

View the base64 encoded decorated signatures

base64 encoded signatures

Response

View the response from Stellar

Response from Stellar network as a JSON object