Skip to content
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

New “transactionValidation” graphql subscription API #1646

Open
Chralu opened this issue Jan 29, 2025 · 0 comments
Open

New “transactionValidation” graphql subscription API #1646

Chralu opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
enhancements feature New feature request

Comments

@Chralu
Copy link
Contributor

Chralu commented Jan 29, 2025

Describe the solution you'd like

This subscription should replace both transactionConfirmed(address: Address!): TransactionAttestation and transactionError(address: Address!): TransactionError.

transactionValidation sends notification when transaction validation is done (either on a failure or success).

/// On success
{
  address: Address,
  success: {
    crossValidationStamps: [
      {
          nodePublicKey: PublicKey,
          signature: Hex
      },
    ],
  },
}

/// On Failure
{
  address: Address,
  failure: {
    context: ErrorContext,
    error: ErrorDetails
  }
}
@Chralu Chralu added enhancements feature New feature request labels Jan 29, 2025
@Chralu Chralu self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant