Crypto APIs icon

Crypto APIs

Interact with Crypto APIs REST API

Actions113

Overview

This node operation retrieves asset information for an HD Wallet (using extended public keys such as xPub, yPub, or zPub) specifically on the XRP blockchain. It is useful when you want to query the balances and assets associated with a hierarchical deterministic wallet without exposing private keys.

Common scenarios include:

  • Monitoring XRP wallet balances derived from an extended public key.
  • Integrating XRP wallet asset data into dashboards or automated workflows.
  • Auditing or tracking multiple accounts generated from a single HD wallet.

For example, you might use this node to fetch all XRP assets linked to a given xPub key on the mainnet network, optionally specifying derivation method or context to refine the query.

Properties

Name Meaning
blockchain The blockchain network to query (e.g., "xrp").
extendedPublicKey The extended public key (xPub, yPub, zPub) of the HD wallet to retrieve assets for.
network The specific network environment (e.g., "mainnet", "testnet") for the blockchain.
context Optional additional context string to specify or filter the request.
derivation Optional derivation method used by the HD wallet; possible values: "account", "bip32".

Output

The output is a JSON array where each item represents asset data related to the specified HD wallet on the XRP blockchain. The exact structure depends on the API response but typically includes details such as asset type, balance, and associated addresses.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Crypto APIs REST API service.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • The node reads a local OpenAPI specification file (2024-12-12-final.json) to map operations and parameters internally.

Troubleshooting

  • Operation not found error: If the node throws Operation ... not found, it indicates a mismatch or misconfiguration of the operation name. Ensure the operation is correctly selected as "Get HD Wallet (xPub, yPub, zPub) Assets XRP".
  • Missing required parameters: The properties blockchain, extendedPublicKey, and network are mandatory. Omitting them will cause errors.
  • API authentication errors: Verify that the API key credential is valid and has permissions for the requested blockchain data.
  • Network or connectivity issues: Ensure your environment can reach the Crypto APIs endpoints without firewall restrictions.

Links and References

Discussion