mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-31 14:28:48 +00:00
4c19a0e48e
Allow for the Fluffy Portal bridge to inject receipts. This requires a web3 endpoint to be provided, and currently only Alchemy is supported due to the used JSON-RPC endpoint.
10 lines
526 B
Nim
10 lines
526 B
Nim
proc eth_chaindId(): HexQuantityStr
|
|
proc eth_getBlockByHash(data: EthHashStr, fullTransactions: bool): Option[BlockObject]
|
|
proc eth_getBlockByNumber(quantityTag: string, fullTransactions: bool): Option[BlockObject]
|
|
proc eth_getBlockTransactionCountByHash(data: EthHashStr): HexQuantityStr
|
|
proc eth_getTransactionReceipt(data: Hash256): Option[ReceiptObject]
|
|
proc eth_getLogs(filterOptions: FilterOptions): seq[FilterLog]
|
|
|
|
# Not supported: Only supported by Alchemy
|
|
proc eth_getBlockReceipts(data: Hash256): seq[ReceiptObject]
|