Skip to content

signet objects #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

signet objects #225

wants to merge 1 commit into from

Conversation

yellowred
Copy link

@yellowred yellowred commented Mar 18, 2025

enable signet bitcoin network in the sdk

Towards LPT-225

@yellowred yellowred requested review from a team and coreymartin and removed request for a team March 18, 2025 01:10
Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

current_account {
... on Account {
transactions(, first: ${'$'}first, after: ${'$'}after, types: ${'$'}types, after_date: ${'$'}after_date, before_date: ${'$'}before_date, bitcoin_network: ${'$'}bitcoin_network, lightning_node_id: ${'$'}lightning_node_id, statuses: ${'$'}statuses, exclude_failures: ${'$'}exclude_failures) {
transactions(, first: ${'$'}first, after: ${'$'}after, types: ${'$'}types, after_date: ${'$'}after_date, before_date: ${'$'}before_date, bitcoin_network: ${'$'}bitcoin_network, lightning_node_id: ${'$'}lightning_node_id, statuses: ${'$'}statuses, exclude_failures: ${'$'}exclude_failures, max_amount: ${'$'}max_amount, min_amount: ${'$'}min_amount) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be a syntax error in the GraphQL query - there's an extraneous comma at the beginning of the parameter list in the transactions() call. This could cause the GraphQL query to fail.

Please remove the leading comma in:

transactions(, first: $first, ...

The same issue appears in the other GraphQL queries for payment_requests and withdrawal_requests as well.

Suggested change
transactions(, first: ${'$'}first, after: ${'$'}after, types: ${'$'}types, after_date: ${'$'}after_date, before_date: ${'$'}before_date, bitcoin_network: ${'$'}bitcoin_network, lightning_node_id: ${'$'}lightning_node_id, statuses: ${'$'}statuses, exclude_failures: ${'$'}exclude_failures, max_amount: ${'$'}max_amount, min_amount: ${'$'}min_amount) {
transactions(first: ${'$'}first, after: ${'$'}after, types: ${'$'}types, after_date: ${'$'}after_date, before_date: ${'$'}before_date, bitcoin_network: ${'$'}bitcoin_network, lightning_node_id: ${'$'}lightning_node_id, statuses: ${'$'}statuses, exclude_failures: ${'$'}exclude_failures, max_amount: ${'$'}max_amount, min_amount: ${'$'}min_amount) {

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

@yellowred
Copy link
Author

@coreymartin I am not really sure we will need js-sdk for spark, but this pr builds without issues, so why not?

@yellowred
Copy link
Author

The change is too large and has too many errors. We should probably revisit this later.

@yellowred yellowred closed this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant