Builder Code Integration & Verification
Next.js + Wagmi + X Layer Builder Codes

Wagmi Minimal Verification Page

This page keeps only the closest-to-docs Wagmi example. The Send OKB button calls useSendTransaction() with the ERC-8021 dataSuffix appended directly as the transaction data field.

Doc-Style Wagmi Example

Connect your wallet, then switch to the X Layer network you want to test. Click the send button and check whether the HEX data in the OKX Wallet popup is empty.

WalletDisconnected
NetworkNot connected
Recipient