Skip to main content

Submit a Transaction REST API Endpoint

Submits a transaction to the Stellar network

Updated on
Oct 4, 2023

Submit a Transaction REST API Endpoint

Query Parameters

tx
string
REQUIRED
The Signed transaction to be submitted

Returns

memo
string
A message associated with the transaction
memo_bytes
string
The base64-encoded version of the memo
_links
object
Links to related resources associated with the specific transaction
self
object
The self link object which contains the following field:
href
string
A link to the current transaction, allowing navigation to the details of the operation
account
object
The account link object which contains the following field:
href
string
A link to the account containing the transaction, enabling access to the details of the parent transaction
ledger
object
The ledger link object which contains the following field:
href
string
A link to the ledger associated with the transaction
operations
object
The operations link object which contains the following field:
href
string
A link to the operations containing the transactions
effects
object
The effects link object which contains the following field:
href
string
A link to the effects associated with the transaction
succeeds
object
The succeeds link object which contains the following field:
href
string
A link to the transaction that succeeds the current one
precedes
object
The precedes link object which contains the following field:
href
string
A link to the transaction that precedes the current one
transaction
object
The transaction link object which contains the following field:
href
string
A link to the current transaction
id
string
The unique identifier for the transaction record
paging_token
string
The paging token for the transaction record
successful
boolean
A boolean indicating whether the transaction was successful
hash
string
The hash of the transaction
ledger
integer
The sequence number of the ledger in which the transaction was included
created_at
string
The timestamp indicating when the transaction was created
source_account
string
The source account that initiated the transaction. Value must match regular expression G[A-Z0-9]{55}
source_account_sequence
string
The sequence number of the source account at the time the transaction was created
fee_account
string
The account that paid the fee for the transaction
fee_charged
string
The amount of fee charged for the transaction
max_fee
string
The maximum fee that could have been charged for the transaction
operation_count
integer
The number of operations contained within the transaction
envelope_xdr
string
he base64-encoded transaction envelope XDR
result_xdr
string
The base64-encoded result XDR of the transaction, containing the outcome of the transaction
result_meta_xdr
string
The base64-encoded result meta XDR of the transaction, containing additional metadata about the transaction outcome
fee_meta_xdr
string
The base64-encoded fee meta XDR of the transaction, containing metadata about the transaction fee
memo_type
string
The type of memo attached to the transaction
signatures
string
An array of base64-encoded transaction signatures that prove the authenticity of the transaction
valid_after
string
The timestamp when the transaction becomes valid
valid_before
string
The timestamp when the transaction is no longer valid
preconditions
object
It contains preconditions for the transaction
timebounds
object
Specifies the time range during which the transaction is considered valid
min_time
string
The minimum timestamp that must be reached for the transaction to be considered valid. Value must match regular expression G[A-Z0-9]{55}
max_time
string
The maximum valid timestamp for the transaction. Value must match regular expression G[A-Z0-9]{55}
ledgerbounds
object
Specifies ledger number boundaries for the transaction during which the transaction is considered valid
min_time
string
The minimum valid ledger number for the transaction
max_time
string
The maximum valid ledger number for the transaction
min_account_sequence
string
The minimum required account sequence number for the source account
min_account_sequence_age
string
The minimum age of the source account's sequence number
min_account_sequence_ledger_gap
string
The minimum allowed gap between the source account's sequence number and the current ledger sequence number
extra_signers
string
An array of additional signers required for the transaction
fee_bump_transaction
object
Describes a fee bump transaction that includes a base transaction
hash
string
The hash of the base transaction
signatures
string
An array of signatures associated with the fee bump transaction
inner_transaction
object
Describes an inner transaction within a fee bump transaction
hash
string
The hash of the inner transaction
signatures
string
An array of signatures associated with the inner transaction
signatures
string
The maximum fee allowed for the inner transaction
Request
1
curl -L -X POST 'https://docs-demo.stellar-mainnet.quiknode.pro/transactions' \
2
-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free