요금GitHub대시보드

Stellar

/transactions150 크레딧

Submit a signed transaction envelope

네트워크: stellar

매개변수

이름타입설명
txstringBody (application/x-www-form-urlencoded). Base64-encoded XDR of the signed transaction envelope.

반환값

타입

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.

코드 예제

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..."
}'