Pioneering fast, flexible, and scalable web3 infrastructure, SubQuery provide fast, reliable, and decentralised RPCs and Data indexing services to over 150 chains.
Base
eip155:8453
#4f85d6
SQT
18
Pioneering fast, flexible, and scalable web3 infrastructure, SubQuery provide fast, reliable, and decentralised RPCs and Data indexing services to over 150 chains.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "8453";
const address = "0x858c50c3af1913b0e849afdb74617388a1a5340d";
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],
},
};