Skip to main content

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 date
  • feeValue: filter by total fee value of transaction
  • height: filter by block height
  • invalidReason:
  • options: filter returned data by ordering, limiting, and constraining it.
  • time: filter by selecting date in rang, list or just date
  • txHash: filter by transaction hash
  • txIndex: filter by index of transaction in the block
  • txSender: filter by transaction sender
  • type: filter by type of transaction
  • typeId: filter by type Id of transaction
  • valid:
  • version: filter by version
  • any:
  • block: returns details of block in which transaction is included
  • blockHash: returns block hash
  • count: returns aggregate count of omni transfers
  • countBigInt: returns count as BigInt
  • currency: returns details of currency
  • date: returns date of transfer
  • direction:
  • divisible:
  • expression:
  • feeValue: returns total fee value of transactions
  • hash: returns transaction hash
  • index: returns index of transaction in the block
  • ismine:
  • maximum: returns maximum for selected measurable field of Dash omni transfers
  • minimum: returns minimum for selected measurable field of Dash omni transfers
  • transferFrom:
  • transferTo:
  • txSender: returns transaction sender
  • type: returns type of transfer
  • typeInt: returns type as Int
  • value: returns value