xxxxxxxxxx
# Welcome to try.chaingraph.cash ๐
# Here you can try out Chaingraph's API on the demo instance.
โ
# Let's start with a simple query, looking up the first
# bitcoin transaction by hash:
query GetTransactionDetails {
transaction(where: { hash: { _eq:
"\\xf4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16"
} } ) {
hash
block_inclusions {
transaction_index
block {
hash # The API has built-in docs! Try hovering over
height # fields, or use the "DOCS" tab on the right.
}
}
inputs {
input_index
unlocking_bytecode
}
# Tip: Ctrl+Space shows available fields.
# Try adding other transaction fields like "outputs":
}
}
xxxxxxxxxx
โ
xxxxxxxxxx
โ