Skip to content

Gateway SDK fails when working with signet #915

@vetal20600

Description

@vetal20600

Hello, BOB community,

I started exploring the BOB SDK. My goal is to run example for Bitcoin Signet / BOB Sepolia.

There are no example repositories showing how to work with Sepolia + SIgne, so I’m trying to create one myself.

I decided to start with code that fetches the available tokens using the gatewaySDK.getTokens() method, but I’m getting the error:

Failed to fetch supported token addresses

how to reproduce:

const gatewaySDK = new GatewaySDK(bobSepolia.id);
console.log(await gatewaySDK.getTokens());

I started digging into this, and it looks like gatewaySDK.getTokens() makes a REST API call to the following URL:

https://gateway-api-signet.gobob.xyz/tokens?includeStrategies=true

This request fails with a 503 error.

The URL is also not accessible directly via a browser. Meanwhile, the mainnet URL https://gateway-api-mainnet.gobob.xyz/tokens?includeStrategies=true works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    New 🆕

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions