Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
GraphQL to check if a transaction is present on the blockchain

I have a transaction ID, however sometimes it takes a little bit of time for a monetary transaction to show up on Blockchains.

I'm using GraphQL to query the blockchain with this transaction ID. If it returns true, that means the transaction was successful, if not, unsuccessful.

Can anyone provide me with a template?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

A "query" is just a field on what happens to be the Query type. A field can return any output type, including scalars -- it doesn't need to return an object. So it's sufficient to have a schema like:

type Query {
  transaction(transactionId: String!): Boolean!
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!