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

Frequently asked

Do you hold my keys?

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

Top up, get a key, ship.

Self-serve. Pay in crypto or card. Metered by credits — heavy primitives cost more, simple ones are cheap.

Get API key