Missing data for some instructions on Solana

Hello, I’m having issues with some instructions and data missing from the response.
My use case is that I want to fetch all syncNative calls to figure out SOL wrap operations (as they are missing from the standard Transfer feed).
This requires me the instruction data to get the target account address.

My query is:

query SolInstructionsQuery {
  solana {
    instructions(
      programId: {in: ["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"]}
      signature: {in: ["HBpYHoobZS58Z8ih2MkbP7EKUHiPHJNCcLN9vPyzBpQBhg3zXDZpKasmETAJVNdHrY4x3YLdnqy5qJkpCnLQ6YY"]},
      parsedActionName: { is: "syncNative" }, 
      options: {desc: "transaction.signature"}
    ) {
      data {
        base58
        hex
      }
      transaction {
        signature
        feePayer
      }
      program {
        name
        id
      }
      action {
        name
        type
      }
    }
  }
}

And the response is (note the empty data fields):

{
  "solana": {
    "instructions": [
      {
        "data": {
          "base58": "",
          "hex": ""
        },
        "transaction": {
          "signature": "HBpYHoobZS58Z8ih2MkbP7EKUHiPHJNCcLN9vPyzBpQBhg3zXDZpKasmETAJVNdHrY4x3YLdnqy5qJkpCnLQ6YY",
          "feePayer": "FCunrvJZb5fqTPRyZN8sQNhbBppwXbvZcQXo7ccFYtat"
        },
        "program": {
          "name": "spl-token",
          "id": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        "action": {
          "name": "syncNative",
          "type": "syncNative"
        }
      }
    ]
  }
}

Is there any option to get access to this information using your product?

1 Like