Skip to main content
Opens a token’s details in the Farcaster client.

Usage

import { sdk } from '@farcaster/miniapp-sdk'

await sdk.actions.viewToken({
  token: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
})

Parameters

token

  • Type: string
The contract address of the token to view.

Return Value

void

Notes

This action opens the native token details view in the Farcaster client.