getCastFromHash

getCastFromHash - get a cast using hash and fid

Method signature:

getCastFromHash = async (hash: string, fid: number): Promise<CastAddBody | null>
  • hash: target hash of the cast to be fetched

  • fid: fid of the author of that cast

  • returns a cast object of type CastAddBody

Last updated