Skip to content

[bug] Xverse ord_getInscriptions Internal JSON-RPC error (-32603) #165

@astralarkitekt

Description

@astralarkitekt

Is there an existing issue for this?

  • I have searched the existing issues

SATS-CONNECT Version

2.6.0

Current Behavior

ord_getInscriptions() call is returning an error code -32603 (Internal JSON RPC error)

In our Vue 3 app we use a Pinia Store for interacting with sats-connect.

We first call and get a success from:

const response = await Wallet.request('getAccounts', {
          purposes: [AddressPurpose.Ordinals],
          message: 'Please sign this message to verify ownership of your wallet and assets.'
        });

Then we attempt to fetch the inscriptions based on the provider ... in this case Xverse...

 const inscriptions = await Wallet.request('ord_getInscriptions', {
          offset,
          limit: 60
        });

This results in the following response from sats-connect:

{
    "status": "error",
    "error": {
        "code": -32603,
        "message": "Internal error."
    }
}

According to the Docs - this is an Internal JSON-RPC error.

This code worked a little over a week ago. I have made no changes to my application and now it does NOT work. All calls to xverse's ord_getInscriptions() with my wallet result in this error. This is consistent across various

Expected Behavior

I expect to receive a list of up to 60 inscriptions.

Steps To Reproduce

Install sats-connect.

Follow the above steps in the current behavior section.

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions