> For the complete documentation index, see [llms.txt](https://docs.blinklabs.xyz/blink/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blinklabs.xyz/blink/arc/api-reference.md).

# API Reference

Blink's integration is designed to be as simple as possible, it only requires switching over to Blink's RPC node endpoint.

This endpoint mirrors the standard Ethereum JSON-RPC APIs exposed by Arc node providers.

You can find your custom endpoint on your custom [dashboard](https://portal.blinklabs.xyz/dashboard?chain=arc).

## Integration Steps

* Acquire custom RPC endpoint on our [dashboard](https://portal.blinklabs.xyz/dashboard?chain=arc)
* Switch out existing RPC endpoint for the custom Blink endpoint: `https://arc.blinklabs.xyz/v1/{$API_KEY}`
* Track recoveries via Blink's dashboard

### Chain details

* **Network:** Arc Testnet
* **Chain ID:** `5042002`
* **Gas token:** USDC (18 decimals natively, 6 decimals via the ERC-20 interface)
* **Minimum base fee:** 20 gwei

***

## eth\_sendRawTransaction

Blink will intercept eth\_sendRawTransaction requests, it will;

* Submit the transaction to the Arc network
* Share the transaction with our searcher network

### Example request

```
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_sendRawTransaction",
    "params": [
        "0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833",
     ],
}
```

### Example response

```
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
```

{% hint style="warning" %}
Set `maxFeePerGas` (or `gasPrice` for legacy transactions) to at least 20 gwei, Arc's minimum base fee. Arc accepts a transaction priced below it and returns its hash, but never includes it, so a transaction hash in the response does not guarantee inclusion.
{% endhint %}

{% hint style="info" %}
**Resubmitting a transaction.** Arc typically includes transactions within about a second. Resubmitting the same signed transaction may return its hash again, `already known`, or `nonce too low`, depending on whether it is still pending or already included. Look the transaction up by hash with `eth_getTransactionReceipt` before treating either error as a failure.

**Replacing a transaction.** A replacement at the same nonce must raise `maxFeePerGas` above the original. Raising only `maxPriorityFeePerGas` returns `replacement transaction underpriced`.
{% endhint %}

***

## eth\_sendPrivateTransaction

Accepted as an alias of `eth_sendRawTransaction`, for compatibility with existing private transaction integrations. It takes the same signed raw transaction parameter and behaves identically. It adds no relay or bundle-style privacy guarantee; Arc itself does not expose a public mempool for third parties to read.

### Example request

```
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_sendPrivateTransaction",
    "params": [
        "0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833",
     ],
}
```

***

For full documentation of the remaining standard endpoints and Arc's differences from Ethereum, we suggest referring to the Arc documentation: <https://docs.arc.io/arc/references/evm-compatibility>
