mirror of
https://github.com/status-im/nim-ethers.git
synced 2025-01-28 08:05:09 +00:00
ce435f8791
Only returns hash, number and timestamp for now.
14 lines
642 B
Nim
14 lines
642 B
Nim
proc net_version(): string
|
|
proc eth_accounts: seq[Address]
|
|
proc eth_blockNumber: UInt256
|
|
proc eth_call(transaction: Transaction): seq[byte]
|
|
proc eth_gasPrice(): UInt256
|
|
proc eth_getBlockByNumber(blockTag: BlockTag, includeTransactions: bool): ?Block
|
|
proc eth_getTransactionCount(address: Address, blockTag: BlockTag): UInt256
|
|
proc eth_estimateGas(transaction: Transaction): UInt256
|
|
proc eth_chainId(): UInt256
|
|
proc eth_sendTransaction(transaction: Transaction): array[32, byte]
|
|
proc eth_sign(account: Address, message: seq[byte]): seq[byte]
|
|
proc eth_subscribe(name: string, filter: ?Filter): JsonNode
|
|
proc eth_unsubscribe(id: JsonNode): bool
|