forked from cerc-io/ipld-eth-server
getLogs API changes to return txHash, make contract arg optional. (#81)
* getLogs API changes to return txHash, make contract arg optional. * Populate log index. * Add test for txn hash in GetLogs request. * Convert tx string to common.Hash after fetching. Co-authored-by: Arijit Das <arijitad.in@gmail.com>
This commit is contained in:
co-authored by
Arijit Das
parent
afc63ac960
commit
70f7face75
@@ -295,6 +295,6 @@ const schema string = `
|
||||
getStorageAt(blockHash: Bytes32!, contract: Address!, slot: Bytes32!): StorageResult
|
||||
|
||||
# Get contract logs by block hash and contract address.
|
||||
getLogs(blockHash: Bytes32!, contract: Address!): [Log!]
|
||||
getLogs(blockHash: Bytes32!, contract: Address): [Log!]
|
||||
}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user