eth_sendPrivateTransaction
Base / https://triport.io/r/{key}/rpc/base
Minimum tier: Reference only
Last updated:
Primary records mention this exact method/channel or related source spelling. Stored results/labels and script recipes lack a complete recorded request+successful response pair; no blanket provider availability inferred. Search terms are provenance crosswalk only, not enabled wire aliases. Primary records mention this exact method/channel or related source spelling. Stored results/labels and script recipes lack a complete recorded request+successful response pair; no blanket provider availability inferred. Search terms are provenance crosswalk only, not enabled wire aliases. privateTx_1bad body contains result:null AND error -32600 reading transaction object failed. f30 val_of checks result first and can output OK null despite an error. No successful private send or proof that opts are ignored. Availability is the frozen baseline, not deployed readiness. documented is the contract floor; evidence_kind retains unknown/source_summary.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| rawTransaction | BaseR03_raw | Yes |
Returns
| Field | Type |
|---|---|
| unavailable | object |
Examples
curl https://triport.io/r/{key}/rpc/base \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_sendPrivateTransaction","params":["<rawTransaction>"]}'const res = await fetch("https://triport.io/r/{key}/rpc/base", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateTransaction",
"params": [
"<rawTransaction>"
]
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/r/{key}/rpc/base",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"eth_sendPrivateTransaction","params":["<rawTransaction>"]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: Base.
- Clusters: mainnet.
- Credit cost: 5 per call.
FAQ
- What does eth_sendPrivateTransaction do?
- Submit a transaction through the candidate private ingress.
- How many credits does eth_sendPrivateTransaction cost?
- eth_sendPrivateTransaction costs 5 credit(s) per call on Triport by default.
- Is eth_sendPrivateTransaction available over WebSocket?
- eth_sendPrivateTransaction is an HTTP JSON-RPC method.