The omniTransfers field allows us to fetch information about omni transfers from Dash network.
Here's an exmaple that demonstrates omniTransfers query:
{
bitcoin(network: dash) {
omniTransfers(
date: {after: "2023-07-22"}
options: {desc: "block.timestamp.iso8601", limit: 10}
) {
block {
timestamp {
iso8601
}
}
blockHash
currency {
address
name
symbol
}
date {
date
}
direction
divisible
hash
index
ismine
transferFrom
transferTo
txSender
type
typeInt
value
}
}
}
Filtering Omni Transfers
Omni Transfers can be filtered using the following arguments:
any:date: filter by selecting date in range, list or just datefeeValue: filter by total fee value of transactionheight: filter by block heightinvalidReason:options: filter returned data by ordering, limiting, and constraining it.time: filter by selecting date in rang, list or just datetxHash: filter by transaction hashtxIndex: filter by index of transaction in the blocktxSender: filter by transaction sendertype: filter by type of transactiontypeId: filter by type Id of transactionvalid:version: filter by version
any:block: returns details of block in which transaction is includedblockHash: returns block hashcount: returns aggregate count of omni transferscountBigInt: returns count as BigIntcurrency: returns details of currencydate: returns date of transferdirection:divisible:expression:feeValue: returns total fee value of transactionshash: returns transaction hashindex: returns index of transaction in the blockismine:maximum: returns maximum for selected measurable field of Dash omni transfersminimum: returns minimum for selected measurable field of Dash omni transferstransferFrom:transferTo:txSender: returns transaction sendertype: returns type of transfertypeInt: returns type as Intvalue: returns value