Skip to content

inspectTransactionHex

inspectTransactionHex parses the Kontor ops contained within a hex serialized transaction.

import { nativeToken, createKontorIndexerClient, http, signet } from '@kontor/kontor-sdk'
 
export const indexerClient = createKontorIndexerClient({
  chain: signet,
  transport: http()
})
 
const signedRevealHex = "..."
 
const kontorOps = await indexerClient.inspectTransactionHex({
  hex: signedRevealHex,
})