*USDZ on Metal Testnet and verify its execution and finality. This
path uses a standard Ethereum transaction and the default *USDZ gas token,
so no Metal-specific SDK is required.
What you will do
- Create an RPC endpoint and verify the connection.
- Create an encrypted testnet account.
- Fund it from the faucet.
- Transfer one
*USDZ. - Verify the receipt, recipient balance, and finalized block.
Prerequisites
Complete Connect to Testnet first. You should have:- Foundry with
castavailable. METAL_RPC_URLset to your full endpoint URL and verified against chain ID63825.
Step 1: Create a test account
Generate a new account:Step 2: Fund the account
Open the Metal faucet, paste$SENDER_ADDRESS, and request *USDZ.
Set the testnet token address and check the funded balance:
*USDZ balance funds both the transfer and its gas. Leave enough
balance to cover both.
Step 3: Choose a recipient
Choose a recipient EVM address different from the sender’s. Replace the placeholder below with the actual address:Step 4: Send one *USDZ
Send one*USDZ to the recipient:
cast send prints the transaction
hash and receipt. Save the hash:
value remains 0. The explicit gas limit provides
a starting budget for a simple transfer. Receive-policy limit tracking and
quarantine can require more gas.
Step 5: Verify execution
Read the receipt:- a successful status (
1 (success)incastoutput, or0x1in JSON) - your account as the sender and the
*USDZcontract as the transaction recipient - a
blockNumberandblockHash - a
Transferevent from the*USDZcontract for one*USDZfrom$SENDER_ADDRESSto$RECIPIENT_ADDRESS.
1000000000000000000, which represents one *USDZ. The sender paid both that
amount and its transaction fee.
Step 6: Verify finality
Read the finalized head:blockNumber must be at or below finalized.number. Decode any
hexadecimal block number before comparing the heights.
Fetch the canonical hash at the receipt’s block height:
blockHash. With successful
execution, the expected transfer event, and these finality checks, the payment
is complete. See Settlement and Finality for the
verification rules.
You funded an account, sent one *USDZ, and verified the transfer’s execution
and finality.
Inspect the transfer
Look up the transaction, accounts, and containing block.
Send with the SDK
Build and submit a
0x7f transfer with a selected gas token.Connect a browser wallet
Configure an EIP-1193 wallet and viem clients.
Deploy a contract
Deploy Solidity with standard tooling or selected-token gas.