Fee and Economics Methods
eth_baseFeePerGas
Returns the current EIP-1559 base fee per gas.Current base fee per gas in wei (hex)
corelane_sequencerBalance
Returns the balance of the sequencer address (which receives priority fees).Sequencer balance in wei (hex)
The sequencer address is configured via the
--sequencer-address command-line flag. If not specified, it defaults to 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (first Hardhat test account).corelane_totalBurned
Returns the total amount of tokens burned from EIP-1559 base fees.Total burned amount in wei (hex)
In Core Lane’s EIP-1559 implementation, base fees are burned (removed from circulation) while priority fees go to the sequencer.
Key-Value Store Methods
corelane_getKV
Retrieves a value from the Core Lane key-value store.Key to retrieve from the KV store
Stored value as hex-encoded bytes, or
null if key not foundThe key-value store is a Core Lane-specific feature that allows applications to store and retrieve arbitrary data on-chain. Values are stored via special transaction calldata and can be queried via this RPC method.
Bitcoin Wallet Methods
bitcoin_getWalletBalance
Returns the Bitcoin wallet balance for the configured mnemonic.This method is only available when the node is configured with Bitcoin DA (not in derived or Espresso mode).
Bitcoin wallet balance information
Intent System Methods
Core Lane supports an intent system througheth_call. These calls use specific function selectors and are decoded internally.
IsIntentSolved
Check if a specific intent has been solved.Encoded function call with intent ID. The calldata should encode:
- Function selector for
isIntentSolved(bytes32) - Intent ID (32 bytes)
Returns
0x0000000000000000000000000000000000000000000000000000000000000001 if solved, 0x0000000000000000000000000000000000000000000000000000000000000000 if notValueStoredInIntent
Retrieve the value stored in a specific intent.Encoded function call with intent ID. The calldata should encode:
- Function selector for
valueStoredInIntent(bytes32) - Intent ID (32 bytes)
Returns the value stored in the intent as a 32-byte hex-encoded uint256, or zero if intent not found
REST Endpoints
Core Lane also provides HTTP GET endpoints for specific data access:GET /health
Health check endpoint.GET /get_raw_block/:block_number
Returns raw block data (BundleStateManager) for a specific block.Block number to retrieve
GET /get_raw_block_delta/:block_number
Returns the state delta for a specific block.Block number to retrieve delta for
GET /get_latest_block
Returns information about the latest block.GET /kv/:key
Returns the value for a key from the key-value store.Key to retrieve
GET /bitcoin/wallet/balance
Returns Bitcoin wallet balance information.POST /do_poll
Triggers an on-demand block scan (only available when--on-demand-polling is enabled).
This endpoint is only active when the node is started with the
--on-demand-polling flag, which disables automatic block scanning.Configuration
These custom methods may require specific node configuration:Bitcoin Methods
Require
--mnemonic or --mnemonic-file and Bitcoin RPC configurationSequencer Methods
Use
--sequencer-address to configure sequencer (defaults to test address)On-Demand Polling
Enable with
--on-demand-polling flagSequencer RPC
Set
--sequencer-rpc-url to forward transactionsNext Steps
Ethereum-Compatible Methods
Return to standard Ethereum RPC methods