2022-01-24 17:29:25 +01:00
|
|
|
proc net_version(): string
|
2024-05-13 11:51:43 +02:00
|
|
|
proc personal_sign(message: seq[byte], account: Address): seq[byte]
|
2022-01-18 12:42:58 +01:00
|
|
|
proc eth_accounts: seq[Address]
|
2022-01-18 14:26:41 +01:00
|
|
|
proc eth_blockNumber: UInt256
|
2022-04-10 15:21:59 -05:00
|
|
|
proc eth_call(transaction: Transaction, blockTag: BlockTag): seq[byte]
|
2022-01-24 12:12:52 +01:00
|
|
|
proc eth_gasPrice(): UInt256
|
2022-03-16 14:02:44 +01:00
|
|
|
proc eth_getBlockByNumber(blockTag: BlockTag, includeTransactions: bool): ?Block
|
2023-07-20 15:51:28 +10:00
|
|
|
proc eth_getLogs(filter: EventFilter | Filter | FilterByBlockHash): JsonNode
|
2023-10-25 11:36:00 +11:00
|
|
|
proc eth_getTransactionByHash(hash: TransactionHash): ?PastTransaction
|
2023-06-27 14:10:12 +02:00
|
|
|
proc eth_getBlockByHash(hash: BlockHash, includeTransactions: bool): ?Block
|
2022-01-24 12:14:31 +01:00
|
|
|
proc eth_getTransactionCount(address: Address, blockTag: BlockTag): UInt256
|
2023-10-25 11:36:00 +11:00
|
|
|
proc eth_estimateGas(transaction: Transaction, blockTag: BlockTag): UInt256
|
2022-01-24 17:29:25 +01:00
|
|
|
proc eth_chainId(): UInt256
|
2022-05-17 12:34:22 +10:00
|
|
|
proc eth_sendTransaction(transaction: Transaction): TransactionHash
|
2022-07-21 02:00:57 +02:00
|
|
|
proc eth_sendRawTransaction(data: seq[byte]): TransactionHash
|
2022-05-17 12:34:22 +10:00
|
|
|
proc eth_getTransactionReceipt(hash: TransactionHash): ?TransactionReceipt
|
2023-07-20 15:51:28 +10:00
|
|
|
proc eth_subscribe(name: string, filter: EventFilter): JsonNode
|
2022-07-21 01:19:33 +02:00
|
|
|
proc eth_subscribe(name: string): JsonNode
|
2022-02-02 16:56:37 +01:00
|
|
|
proc eth_unsubscribe(id: JsonNode): bool
|
2023-06-27 14:10:12 +02:00
|
|
|
proc eth_newBlockFilter(): JsonNode
|
2023-07-20 15:51:28 +10:00
|
|
|
proc eth_newFilter(filter: EventFilter): JsonNode
|
2023-06-27 14:10:12 +02:00
|
|
|
proc eth_getFilterChanges(id: JsonNode): JsonNode
|
|
|
|
proc eth_uninstallFilter(id: JsonNode): bool
|