Skip to content

[TA-5118] Update Docs with Batch tx#152

Merged
GuillemGarciaDev merged 8 commits intov0.1.xfrom
feat/docs/update-xrpl-content
Jul 18, 2025
Merged

[TA-5118] Update Docs with Batch tx#152
GuillemGarciaDev merged 8 commits intov0.1.xfrom
feat/docs/update-xrpl-content

Conversation

@banasa44
Copy link

@banasa44 banasa44 commented Jul 15, 2025

[TA-5118] Update Docs with Batch tx

Description

This PR aims to add Batch transaction and related methods, and add missing tx and ledger types.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code where needed
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective
  • New and existing unit tests pass locally with my changes

Changes

  • Correct some typos.
  • Fix misleading next and previous buttons.
  • Add missing ledger and transaction types.
  • Adds SignMultiBatch in wallet section, adds SignTx in hash section.
  • Update ws and rpc submit methods.

Notes (optional)

  • There's some .md auto-formatting.
  • Replaced in the intro englobes by covers, most autocorrectors marks englobes as orthographic error. While it technically exists, its rarely used (didn't found it in most online dictionaries).

Summary by CodeRabbit

  • Documentation
    • Improved clarity and formatting across multiple documentation files.
    • Added and updated descriptions for new ledger entry types and transaction types.
    • Expanded API documentation for transaction signing, autofilling, and submission methods, including new method signatures and usage explanations.
    • Enhanced navigation with pagination metadata.
    • Corrected typos and refined introductory text for better readability.

@coderabbitai
Copy link

coderabbitai bot commented Jul 15, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

This update revises and expands documentation across multiple files in the XRPL Go project. It introduces new transaction and ledger entry types, clarifies and adds method signatures for transaction submission and autofill, documents new wallet and hash functions, and makes formatting and metadata improvements for better navigation and accuracy.

Changes

Files/Paths Change Summary
docs/docs/intro.md Reworded introductory sentence ("englobes" → "covers").
docs/docs/keypairs.md Added pagination metadata, removed trailing whitespace, minor formatting updates.
docs/docs/xrpl/currency.md Added previous pagination metadata, ensured newline at file end.
docs/docs/xrpl/hash.md Expanded overview, documented new SignTx function, updated API descriptions.
docs/docs/xrpl/ledger-entry-types.md Added Credential and Delegate ledger entry types, linked to XRPL docs where available.
docs/docs/xrpl/rpc.md Clarified and reorganized method documentation, added new autofill and submit method signatures and descriptions.
docs/docs/xrpl/transaction.md Added new XRPL transaction types with links; no structural changes.
docs/docs/xrpl/wallet.md Documented new SignMultiBatch method, added description and signature, minor formatting fix.
docs/docs/xrpl/websocket.md Clarified and expanded method documentation, added new submit method signatures, corrected typos.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Wallet
    participant RPCClient
    participant WebSocketClient
    participant XRPLNetwork

    User->>Wallet: Call SignMultiBatch(tx, opts)
    Wallet-->>User: Returns signed batch transaction

    User->>RPCClient: Autofill(tx) / AutofillMultisigned(tx, nSigners)
    RPCClient-->>User: Returns autofilled transaction

    User->>RPCClient: SubmitTx(tx, opts) / SubmitTxBlob(txBlob, failHard)
    RPCClient->>XRPLNetwork: Submits transaction
    XRPLNetwork-->>RPCClient: Immediate submission result
    RPCClient-->>User: Returns SubmitResponse

    User->>RPCClient: SubmitTxAndWait(tx, opts) / SubmitTxBlobAndWait(txBlob, failHard)
    RPCClient->>XRPLNetwork: Submits transaction
    XRPLNetwork-->>RPCClient: Finalized transaction result
    RPCClient-->>User: Returns TxResponse

    User->>WebSocketClient: Autofill(tx) / AutofillMultisigned(tx, nSigners)
    WebSocketClient-->>User: Returns autofilled transaction

    User->>WebSocketClient: SubmitTx(tx, opts) / SubmitTxBlob(txBlob, failHard)
    WebSocketClient->>XRPLNetwork: Submits transaction
    XRPLNetwork-->>WebSocketClient: Immediate submission result
    WebSocketClient-->>User: Returns SubmitResponse

    User->>WebSocketClient: SubmitTxAndWait(tx, opts) / SubmitTxBlobAndWait(txBlob, failHard)
    WebSocketClient->>XRPLNetwork: Submits transaction
    XRPLNetwork-->>WebSocketClient: Finalized transaction result
    WebSocketClient-->>User: Returns TxResponse
Loading

Possibly related PRs

  • [TA-4974]: batch signer #147: Updates documentation and adds the SignMultiBatch wallet method for batch transaction signing, directly related to the new signing features documented here.

Suggested labels

feature, xrpl

Suggested reviewers

  • banasa44

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@notion-workspace
Copy link

Copy link
Collaborator

@GuillemGarciaDev GuillemGarciaDev left a comment

Choose a reason for hiding this comment

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

Some additional notes:

  • Add PermissionedDomain ledger entry type.
  • On queries section, add v2 support column to every table of queries that are v2 versions (they have a subpackage v1)

@GuillemGarciaDev
Copy link
Collaborator

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Jul 17, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

♻️ Duplicate comments (2)
docs/docs/xrpl/websocket.md (1)

135-137: Same by-value issue for SubmitTxAndWait

Replicate whatever change is decided for SubmitTx, otherwise the two overloads diverge.

docs/docs/xrpl/rpc.md (1)

95-98: Duplicate of WebSocket doc issue – pointer vs value

The RPC docs show the same by-value signature for SubmitTx. Ensure consistency with the concrete implementation.

🧹 Nitpick comments (6)
docs/docs/xrpl/ledger-entry-types.md (1)

10-12: Add missing hyperlink for Delegate to keep list consistent
Every other entry is linked to XRPL docs. Either add the correct URL or briefly note that no official link exists; otherwise readers may assume it was accidentally omitted.

- - `Delegate`
+ - [`Delegate`](https://xrpl.org/docs/references/protocol/ledger-data/ledger-entry-types/delegate)
docs/docs/xrpl/hash.md (1)

21-36: Consider renaming functions to reflect hashing, not signing
The verbs “SignTxBlob” / “SignTx” suggest signing, yet the description says they hash already-signed data. HashTxBlob, HashTx (or TxHash*) would communicate intent more accurately and avoid confusion with the wallet’s signing helpers.

docs/docs/keypairs.md (1)

31-34: Remove sentence duplication for conciseness
Lines 31-34 repeat the “exports both algorithm getters…” phrase.

-However, the library already exports both algorithm getters that satisfy the `KeypairCryptoAlg` and `NodeDerivationCryptoAlg` interfaces. They're available under the package `github.com/Peersyst/xrpl-go/pkg/crypto`, which exports both algorithm getters that satisfy the `KeypairCryptoAlg`, `NodeDerivationCryptoAlg` interfaces.
+However, the library already exports both algorithm getters in `github.com/Peersyst/xrpl-go/pkg/crypto`, which satisfy the `KeypairCryptoAlg` and `NodeDerivationCryptoAlg` interfaces.
docs/docs/xrpl/wallet.md (1)

54-56: Document the return values for SignMultiBatch

Unlike the two preceding bullets, the description for SignMultiBatch omits its return value(s).
If the method only mutates tx and returns error, make that explicit; otherwise list the blob/hash tuple like the other methods. Consistency here avoids guess-work for integrators.

docs/docs/xrpl/transaction.md (1)

14-58: Keep the transaction list alphabetically sorted for quick lookup

The newly inserted types (e.g. Batch, CredentialAccept, MPTokenAuthorize) break the previous alphabetical order, making the list harder to scan. Consider re-ordering the whole section or adding an automatic ToC instead.

Example fix:

- - [AMMWithdraw](.../ammwithdraw)
- - [Batch](.../batch)
- - [CheckCancel](.../checkcancel)
+ - [Batch](.../batch)
+ - [CheckCancel](.../checkcancel)
+ - [AMMWithdraw](.../ammwithdraw)

The same applies to the credential and MPToken entries further down.

docs/docs/xrpl/websocket.md (1)

112-118: Minor wording & article fixes

“There's also a AutofillMultisigned” → “There's also an AutofillMultisigned”.
Also, “internall” earlier in the paragraph should be “internal” (was fixed elsewhere but slipped back in some branches).

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 14ba12d and d694858.

📒 Files selected for processing (9)
  • docs/docs/intro.md (1 hunks)
  • docs/docs/keypairs.md (4 hunks)
  • docs/docs/xrpl/currency.md (2 hunks)
  • docs/docs/xrpl/hash.md (2 hunks)
  • docs/docs/xrpl/ledger-entry-types.md (2 hunks)
  • docs/docs/xrpl/rpc.md (2 hunks)
  • docs/docs/xrpl/transaction.md (3 hunks)
  • docs/docs/xrpl/wallet.md (3 hunks)
  • docs/docs/xrpl/websocket.md (1 hunks)
🧰 Additional context used
🧠 Learnings (9)
📓 Common learnings
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In the PR #113 for xrpl-go, the initial flagging of duplicated fields (`CredentialType` and `Expiration`) in the `xrpl/transaction/credential_create.go` file was determined to be irrelevant and not an actual issue.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: The CredentialCreate struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: GuillemGarciaDev
PR: Peersyst/xrpl-go#131
File: xrpl/rpc/client.go:265-265
Timestamp: 2025-03-31T17:29:49.615Z
Learning: In the XRPL Go codebase, type assertions from maps should always use the two-return pattern (value, ok := map[key].(type)) with proper error handling to avoid potential panics.
Learnt from: banasa44
PR: Peersyst/xrpl-go#144
File: examples/delegate-set/ws/main.go:26-28
Timestamp: 2025-07-04T08:04:15.312Z
Learning: In the xrpl-go codebase, example files consistently use early returns with fmt.Println(err) and return directly in main functions for error handling, while relying on defer statements like defer client.Disconnect() for cleanup. There's no pattern of wrapping main logic in separate functions to ensure cleanup - the defer statements handle this correctly with early returns.
docs/docs/intro.md (1)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
docs/docs/xrpl/ledger-entry-types.md (5)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In the PR #113 for xrpl-go, the initial flagging of duplicated fields (`CredentialType` and `Expiration`) in the `xrpl/transaction/credential_create.go` file was determined to be irrelevant and not an actual issue.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: The CredentialCreate struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: GuillemGarciaDev
PR: Peersyst/xrpl-go#131
File: xrpl/rpc/client.go:265-265
Timestamp: 2025-03-31T17:29:49.615Z
Learning: In the XRPL Go codebase, type assertions from maps should always use the two-return pattern (value, ok := map[key].(type)) with proper error handling to avoid potential panics.
Learnt from: banasa44
PR: Peersyst/xrpl-go#144
File: examples/delegate-set/ws/main.go:26-28
Timestamp: 2025-07-04T08:04:15.312Z
Learning: In the xrpl-go codebase, example files consistently use early returns with fmt.Println(err) and return directly in main functions for error handling, while relying on defer statements like defer client.Disconnect() for cleanup. There's no pattern of wrapping main logic in separate functions to ensure cleanup - the defer statements handle this correctly with early returns.
docs/docs/keypairs.md (1)
Learnt from: GuillemGarciaDev
PR: Peersyst/xrpl-go#131
File: xrpl/rpc/client.go:265-265
Timestamp: 2025-03-31T17:29:49.615Z
Learning: In the XRPL Go codebase, type assertions from maps should always use the two-return pattern (value, ok := map[key].(type)) with proper error handling to avoid potential panics.
docs/docs/xrpl/currency.md (3)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In the PR #113 for xrpl-go, the initial flagging of duplicated fields (`CredentialType` and `Expiration`) in the `xrpl/transaction/credential_create.go` file was determined to be irrelevant and not an actual issue.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: The CredentialCreate struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
docs/docs/xrpl/wallet.md (3)
Learnt from: JordiParraCrespo
PR: Peersyst/bitcoin-light#14
File: packages/frontend/wallet/src/domain/controllers/wallet.controller.ts:126-126
Timestamp: 2025-07-09T15:07:30.143Z
Learning: In the wallet controller, there's a semantic inconsistency where the importWallet method sets isImported to false. The team prefers either renaming the method to recoverWallet for clarity, or making importWallet more flexible by allowing isImported to be passed as a parameter with true as the default for imports.
Learnt from: banasa44
PR: Peersyst/xrpl-go#144
File: examples/delegate-set/ws/main.go:26-28
Timestamp: 2025-07-04T08:04:15.312Z
Learning: In the xrpl-go codebase, example files consistently use early returns with fmt.Println(err) and return directly in main functions for error handling, while relying on defer statements like defer client.Disconnect() for cleanup. There's no pattern of wrapping main logic in separate functions to ensure cleanup - the defer statements handle this correctly with early returns.
Learnt from: GuillemGarciaDev
PR: Peersyst/xrpl-go#131
File: xrpl/rpc/client.go:265-265
Timestamp: 2025-03-31T17:29:49.615Z
Learning: In the XRPL Go codebase, type assertions from maps should always use the two-return pattern (value, ok := map[key].(type)) with proper error handling to avoid potential panics.
docs/docs/xrpl/transaction.md (8)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In the PR #113 for xrpl-go, the initial flagging of duplicated fields (`CredentialType` and `Expiration`) in the `xrpl/transaction/credential_create.go` file was determined to be irrelevant and not an actual issue.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: The CredentialCreate struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: vriveraPeersyst
PR: Peersyst/xrpl-snap#129
File: packages/site/src/domain/transaction/controller/TransactionController.ts:98-111
Timestamp: 2025-05-17T14:29:55.132Z
Learning: In the TransactionController class of the XRPL Snap project, the `...rest` parameter in the `sendIOUTransaction` method does not contain flags from callers, so directly setting `flags: PARTIAL_PAYMENT_FLAG` without merging with existing flags is appropriate.
Learnt from: banasa44
PR: Peersyst/xrpl-go#145
File: binary-codec/codec.go:0-0
Timestamp: 2025-07-07T11:40:34.738Z
Learning: XRPL batch transactions have a maximum limit of 8 transactions per batch, as defined by the XRPL protocol. This constraint eliminates practical concerns about integer overflow when converting batch length to uint32.
Learnt from: banasa44
PR: Peersyst/xrpl-go#144
File: examples/delegate-set/ws/main.go:26-28
Timestamp: 2025-07-04T08:04:15.312Z
Learning: In the xrpl-go codebase, example files consistently use early returns with fmt.Println(err) and return directly in main functions for error handling, while relying on defer statements like defer client.Disconnect() for cleanup. There's no pattern of wrapping main logic in separate functions to ensure cleanup - the defer statements handle this correctly with early returns.
Learnt from: GuillemGarciaDev
PR: Peersyst/xrpl-go#131
File: xrpl/rpc/client.go:265-265
Timestamp: 2025-03-31T17:29:49.615Z
Learning: In the XRPL Go codebase, type assertions from maps should always use the two-return pattern (value, ok := map[key].(type)) with proper error handling to avoid potential panics.
Learnt from: AgustinMJ
PR: Peersyst/near-mobile#90
File: apps/mobile/src/modules/operation/containers/operation-details/operation-details.tsx:87-87
Timestamp: 2025-03-17T11:06:38.302Z
Learning: The `transactionId` is a required field in the `Operation` type from `@shared/blockchain/wci` module, so it cannot be undefined and doesn't need null-checking.
docs/docs/xrpl/websocket.md (1)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
docs/docs/xrpl/rpc.md (2)
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: In PR #113 for xrpl-go, the `CredentialCreate` struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
Learnt from: florent-uzio
PR: Peersyst/xrpl-go#113
File: xrpl/transaction/credential_create.go:30-34
Timestamp: 2025-03-11T11:50:58.330Z
Learning: The CredentialCreate struct in xrpl/transaction/credential_create.go does not have any duplicated fields as was incorrectly flagged in a previous review comment.
🔇 Additional comments (3)
docs/docs/intro.md (1)

7-7: Wording fix LGTM
Replacing “englobes” with “covers” improves clarity and fixes the spell-check issue without altering meaning.

docs/docs/xrpl/currency.md (1)

1-3: Pagination metadata looks correct
Front-matter addition aligns bidirectional navigation between keypairs ↔ currency pages.

docs/docs/xrpl/websocket.md (1)

125-128: Docs match implementation – no update needed

The SubmitTx method in xrpl/websocket/client.go indeed takes transaction.FlatTransaction by value (see line 261), which aligns with the examples in docs/xrpl/websocket.md. No changes to the documentation are required.

If you’d like to switch the API to accept a pointer for performance reasons, update the signature in both the code (e.g. SubmitTx(tx *transaction.FlatTransaction, …)) and the docs in tandem.

@XRPLF XRPLF deleted a comment from coderabbitai bot Jul 18, 2025
@GuillemGarciaDev GuillemGarciaDev merged commit 20d43c8 into v0.1.x Jul 18, 2025
5 checks passed
@GuillemGarciaDev GuillemGarciaDev deleted the feat/docs/update-xrpl-content branch July 18, 2025 12:40
@coderabbitai coderabbitai bot mentioned this pull request Jul 22, 2025
12 tasks
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.

2 participants