Skip to content

docs(api-reference): add cancelTransaction method to GenLayerJS SDK#349

Merged
cristiam86 merged 1 commit intomainfrom
cristiam86/add-cancel-tx-docs
Feb 25, 2026
Merged

docs(api-reference): add cancelTransaction method to GenLayerJS SDK#349
cristiam86 merged 1 commit intomainfrom
cristiam86/add-cancel-tx-docs

Conversation

@cristiam86
Copy link
Member

Description

This PR adds comprehensive documentation for the cancelTransaction method to the GenLayerJS SDK API reference. The method allows canceling PENDING or ACTIVATED transactions on studio-based chains (localnet/studionet). The documentation includes the method signature, parameters, return type, complete usage examples, account type behavior for both private key and injected provider accounts, error conditions, and implementation notes about the underlying sim_cancelTransaction JSON-RPC method.

Types of Changes

  • New feature (non-breaking change that adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I have added the necessary documentation (if appropriate)
  • Lint and unit tests pass locally with my changes

Add documentation for the cancelTransaction method in the GenLayerJS SDK API reference. Includes method signature, parameters, return type, usage examples, account type behavior, error conditions, and implementation notes for canceling PENDING or ACTIVATED transactions on studio-based chains.
@vercel
Copy link
Contributor

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
genlayer-docs Building Building Preview, Comment Feb 25, 2026 9:34am

Request Review

@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for genlayer-docs ready!

Name Link
🔨 Latest commit c6dc02f
🔍 Latest deploy log https://app.netlify.com/projects/genlayer-docs/deploys/699ec21fd1081d0009ef37d5
😎 Deploy Preview https://deploy-preview-349--genlayer-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cristiam86 cristiam86 merged commit 7e7426e into main Feb 25, 2026
8 checks passed
@cristiam86 cristiam86 deleted the cristiam86/add-cancel-tx-docs branch February 25, 2026 09:43
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