Skip to main content
Opens a specific cast in the Farcaster client.

Usage

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

// View cast by hash
await sdk.actions.viewCast({ hash: '0xa2fbef8c8e4d00d8f84ff45f9763b8bae2c5c544' })

Parameters

hash

  • Type: string
The hash of the cast you want to view.

Return Value

void