文档
定价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..."
}'