This is a wrapped version of XPL, the native token of the Plasma blockchain, which will be used to facilitate and be used in transactions as well as rewarding those who provide network support by val…
Plasma
eip155:9745
#142c2c
WXPL
18
This is a wrapped version of XPL, the native token of the Plasma blockchain, which will be used to facilitate and be used in transactions as well as rewarding those who provide network support by validating transactions.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "9745";
const address = "0x6100e367285b01f48d07953803a2d8dca5d19873";
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],
},
};