nim-ethers/ethers/providers/jsonrpc/signatures.nim

16 lines
780 B
Nim
Raw Normal View History

2022-01-24 16:29:25 +00:00
proc net_version(): string
2022-01-18 11:42:58 +00:00
proc eth_accounts: seq[Address]
2022-01-18 13:26:41 +00:00
proc eth_blockNumber: UInt256
proc eth_call(transaction: Transaction, blockTag: BlockTag): seq[byte]
2022-01-24 11:12:52 +00:00
proc eth_gasPrice(): UInt256
proc eth_getBlockByNumber(blockTag: BlockTag, includeTransactions: bool): ?Block
2022-01-24 11:14:31 +00:00
proc eth_getTransactionCount(address: Address, blockTag: BlockTag): UInt256
2022-01-24 13:40:47 +00:00
proc eth_estimateGas(transaction: Transaction): UInt256
2022-01-24 16:29:25 +00:00
proc eth_chainId(): UInt256
proc eth_sendTransaction(transaction: Transaction): TransactionHash
proc eth_getTransactionReceipt(hash: TransactionHash): ?TransactionReceipt
2022-01-26 10:21:28 +00:00
proc eth_sign(account: Address, message: seq[byte]): seq[byte]
2022-07-20 23:19:33 +00:00
proc eth_subscribe(name: string, filter: ?Filter): JsonNode
proc eth_subscribe(name: string): JsonNode
proc eth_unsubscribe(id: JsonNode): bool