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

24 lines
1.2 KiB
Nim
Raw Normal View History

2022-01-24 16:29:25 +00:00
proc net_version(): string
proc personal_sign(message: seq[byte], account: Address): seq[byte]
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
proc eth_getLogs(filter: EventFilter | Filter | FilterByBlockHash): JsonNode
proc eth_getTransactionByHash(hash: TransactionHash): ?PastTransaction
proc eth_getBlockByHash(hash: BlockHash, includeTransactions: bool): ?Block
2022-01-24 11:14:31 +00:00
proc eth_getTransactionCount(address: Address, blockTag: BlockTag): UInt256
proc eth_estimateGas(transaction: Transaction, blockTag: BlockTag): UInt256
2022-01-24 16:29:25 +00:00
proc eth_chainId(): UInt256
proc eth_sendTransaction(transaction: Transaction): TransactionHash
2022-07-21 00:00:57 +00:00
proc eth_sendRawTransaction(data: seq[byte]): TransactionHash
proc eth_getTransactionReceipt(hash: TransactionHash): ?TransactionReceipt
proc eth_subscribe(name: string, filter: EventFilter): JsonNode
2022-07-20 23:19:33 +00:00
proc eth_subscribe(name: string): JsonNode
proc eth_unsubscribe(id: JsonNode): bool
proc eth_newBlockFilter(): JsonNode
proc eth_newFilter(filter: EventFilter): JsonNode
proc eth_getFilterChanges(id: JsonNode): JsonNode
proc eth_uninstallFilter(id: JsonNode): bool