Arbitrum One
eip155:42161
#ef041a
XAI
18
The Xai token has a dual role on the Xai blockchain. It serves as the gas token for transactions and rewards validator nodes. Moreover, it is the main currency in the gaming ecosystem, accepted for game purchases and in-game items.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "42161";
const address = "0x4cb9a7ae498cedcbb5eae9f25736ae7d428c9d66";
const frontmatter = await xmatter.getFrontmatter(chainId, address);
return (
<div>
<XmatterIcon
client={xmatter}
chainId={chainId}
address={address}
width={64} height={64}
alt={`${frontmatter.name} Icon`}
fallback={<div className="size-[64px] rounded-full bg-[#aaa]" />}
/>
<h1>{frontmatter.name}</h1>
<p>{frontmatter.symbol}: {frontmatter.decimals} decimals</p>
</div>
);
}import { RemotePattern } from "xmatter/next";
const nextConfig = {
images: {
remotePatterns: [RemotePattern],
},
};