Receipt Subquery
Get data fields from a Receipt and its Logs/Events
Description
Limits
Builder
Examples

address dstLast updated
Get data fields from a Receipt and its Logs/Events

address dstLast updated
const txHash = "0x9890aaedc5df95de7d535faf10c8d1a96a262b79e0fcb2ed52939c8ebd049d29";
const schema = getEventSchema("Deposit (index_topic_1 address dst, uint256 wad)");
const receiptSubquery: ReceiptSubquery = buildReceiptSubquery(txHash)
.log(0) // log at index 0
.topic(1) // topic 1: address dst
.eventSchema(schema);const txHash = "0x9890aaedc5df95de7d535faf10c8d1a96a262b79e0fcb2ed52939c8ebd049d29";
const receiptSubquery: ReceiptSubquery = buildReceiptSubquery(txHash)
.txType();const txHash = "0x9890aaedc5df95de7d535faf10c8d1a96a262b79e0fcb2ed52939c8ebd049d29";
const receiptSubquery: ReceiptSubquery = buildReceiptSubquery(txHash)
.log(0)
.address(); // address of contract that emitted the event at log index 0