For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send USDC from Hydration to EWX

Key facts you must know

  • USDC uses 6 decimals.

    • 1 USDC = 1,000,000 base units.

  • You will replace two fields before submitting:

    • the recipient public key (AccountId32)

    • the USDC amount (base units)

Step 1: Check your USDC balance on Hydration (optional)

Open the Hydration explorer and paste your Hydration account address:

https://hydration.subscan.io/account/

Step 2: Open Polkadot.js "Decode call" on Hydration (transaction-enabled RPC)

Use this Polkadot.js Apps link (Hydration RPC):

https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fhydration.dotters.network#/extrinsics/decode

Step 3: Paste the pre-built hex call

In "hex-encoded call", paste this exact value:

0x89001600000020a107000000000000000000000000000401020045340100d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d00

This call is pre-built with Alice's address as the recipient for testing. You will replace it with your own recipient address in Step 5.

Verify (do not skip)

Confirm the decoded call shows:

  • pallet: xTokens, call: transfer

  • currencyId: 22 (USDC on Hydration)

  • dest → Parachain 3345 (EWX), AccountId32

  • destWeightLimit: Unlimited

  • the amount field is present and editable

If anything looks different, STOP and do not sign.

Step 4: Get the recipient "hex public key" (32-byte AccountId32)

Open Polkadot.js Utilities on the Hydration RPC:

Choose the destination address

  • If you are sending to the same wallet account on EWX, use your own address.

  • If you are sending to a different EWX account, use that account's address.

Convert address → hex public key

In Utilities, use the tool that converts an address to hex (often labeled "Address to Hex"):

  1. Paste the destination EWX address

  2. Copy the output hex public key

It should look like:

  • starts with 0x

  • followed by 64 hex characters (32 bytes)

Step 5: Fill recipient + amount on the Submission tab

Go back to the Decode page and click Submission.

A) Paste the recipient public key

Find the field under dest:

  • AccountId32 → id: [u8;32]

Paste the recipient hex public key (from Step 4).

B) Enter the USDC amount (base units)

Find:

  • amount: u128

Enter the amount in base units (6 decimals):

Examples:

  • 0.5 USDC → 500000

  • 1 USDC → 1000000

  • 10 USDC → 10000000

  • 12.34 USDC → 12340000

Step 6: Submit the transaction

  1. Click Submit Transaction

  2. Approve/sign in your wallet

Step 7: Confirm on EWX explorer

After it processes, check the recipient address on the EWX explorer:

You should see the USDC balance on EWX.


Last updated