Stellar
/transactions150 Credits
Submit a signed transaction envelope
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| tx | string | Body (application/x-www-form-urlencoded). Base64-encoded XDR of the signed transaction envelope. |
Rückgabewert
Typ
object
The submitted transaction once included in a ledger: id, hash, ledger, successful, envelope_xdr, result_xdr, result_meta_xdr, fee_meta_xdr. Resubmitting an already included transaction returns the original response. Rejected transactions return an error with the result codes in extras.
Codebeispiele
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/transactions' \
-X POST \
-H 'content-type: application/json' \
-d '{
"tx": "AAAAAgAAAAD...base64 XDR of the signed transaction envelope..."
}'