sendrawtransaction

BitcoinC1

Submits a fully-signed, serialized transaction to the Bitcoin network. Returns the txid on acceptance; signing is done client-side, keys never leave your infrastructure.

Endpoint
POST https://api.1st-node.com/v1/bitcoin/rpc

Parameters

NameTypeDescription
hexstringstringThe signed raw transaction hex.

Returns

string — the transaction id (txid).

Request

curl https://api.1st-node.com/v1/bitcoin/rpc \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sendrawtransaction",
  "params": ["0200000001abcd…"]
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sendrawtransaction",
  "params": ["0200000001abcd…"]
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "6a9013b8684862e9…"
}
More transactions methods on Bitcoin

Bitcoin API

Sıkça sorulanlar

Do you hold my keys?

No — the transaction is signed client-side; only the signed hex is broadcast.

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al