TypeScript SDK
API reference for the @seismic/src20-sdk package used internally by the CLI and web app
Last updated
interface CreateTokenResult {
tokenAddress: Address; // address of the deployed SRC20Token contract
txHash: Hash; // transaction hash
}async function getTokenInfo(
client: PublicClient,
tokenAddress: Address,
): Promise<TokenInfo>;interface TokenInfo {
name: string;
symbol: string;
decimals: number;
owner: Address;
totalSupply: bigint; // in base units
}function getFactoryAddress(chainId: number): Address;const FACTORY_ADDRESSES: Record<number, Address> = {
5124: "0x87F850cbC2cFfac086F20d0d7307E12d06fA2127",
};