Lum0x SDK
  • Lum0x-sdk
    • Getting started
    • Examples
      • Case 1 : Find my Fan
      • Case 2: Fetch user's Moxie earning
      • Case 3: Raffle events among the filtered casts
      • How to Deploy a Project with Vercel
    • FarcasterUser
      • Search for Usernames
      • Fetch users based on FIDs
      • Fetch power user objects
      • Fetches users based on Eth or Sol addresses
      • Lookup a user by custody-address
      • Retrieve all channels that a given fid follows
      • Get User Information by username
      • Get Recent Users
    • FarcasterCast
      • Retrieve cast for a given hash or Warpcast URL
      • Retrieve casts for a given user
      • Gets information about an array of casts
      • Retrieve the conversation for a given cast
      • Get Recent Casts
    • FarcasterFeed
      • Retrieve casts based on filters
      • Retrieve trending casts
    • FarcasterReaction
      • Fetches reactions for a given user
      • Fetches reactions for a given cast
    • FarcasterFollowers
      • Retrieve followers for a given user
      • Retrieve relevant followers for a given user
      • Retrieve a list of users followed by a user
    • FarcasterStorage
      • Fetches storage allocations for a given user
      • Fetches storage usage for a given user
    • FarcasterFname
      • Check if a given fname is available
    • FarcasterMute
      • Get fids that a user has muted
    • FarcasterChannel
      • Retrieve all channels with their details
      • Search for channels based on id or name
      • (Bulk) Retrieve channels by id or parent_url
      • Retrieve channel details by id or parent_url
      • Retrieve followers for a given channel
      • Get channels that a user is active in
      • Check If User Follows Channel
      • Retrieve trending channels based on activity
    • FarcasterNotification
      • Retrieve notifications for a given user
    • FarcasterMoxie
      • Retrieve Moxie earning status
      • Retrieve FarScore and FarRank
      • Retrieve Moxie airdrop claim status
      • Retrieve Moxie earning details for cast.
      • Retrieve Moxie earning details for reply.
      • Retrieve Moxie earning details for cast by fid.
      • Retrieve Moxie earning details for reply by fid.
      • Retrieve Moxie earning details from channel cast.
Powered by GitBook
On this page
  • Overview
  • Parameters
  • Usage
  • Response
  • Field Description
  1. Lum0x-sdk
  2. FarcasterMute

Get fids that a user has muted

farcasterMute.getMuteListByFid

Overview

Fetches all fids that a user has muted.

Parameters

name
type
required
Note

fid

number

true

ex) 3

limit

number

false

default: 20, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterMute.getMuteListByFid({
    fid: 3,
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

{
  "mutes": [
    {
      "object": "mute",
      "muted": {
        "object": "user",
        "fid": 4,
        "custody_address": "0xea384b570a23e806a38148e87e6177028afdbae5",
        "username": "noah",
        "display_name": "Noah Jessop",
        "pfp_url": "https://lh3.googleusercontent.com/gsOZX_CswJw_uh0KBW3WGjWlkCYV2kZfNGezAkCKml54Vm3q_Q2xrJudX6ILYkfKG9I1Q7WvTKAluAQj_yyur_XXSojP29SSp9h9",
        "profile": {
          "bio": {
            "text": "Welcoming you to the Far Side. \n\nManaging Director at Proof Group "
          }
        },
        "follower_count": 914,
        "following_count": 290,
        "verifications": [],
        "verified_addresses": {
          "eth_addresses": [],
          "sol_addresses": []
        },
        "active_status": "inactive",
        "power_badge": false
      },
      "muted_at": "2024-05-17T15:03:58.090Z"
    }
  ],
  "next": {
    "cursor": null
  }
}

Field

Value

Muted User

Fid

4

Username

noah

Display Name

Noah Jessop

Profile Image

Bio

Welcoming you to the Far Side. Managing Director at Proof Group

Follower Count

914

Following Count

290

Verifications

None

Verified Addresses

None

Active Status

Inactive

Power Badge

No

Muted At

2024-05-17T15:03:58.090Z

Field Description

  • Object: Type of data object (in this case, mute)

  • Muted: Information about muted users

  • FID: User's unique identifier

  • Username: Username

  • Display Name: Display name

  • PFP URL: URL of the profile picture

  • Profile: User profile information

  • Bio: Introduction text

  • Text: Content of the introduction text

  • Muted At: Date and time when the user was muted

PreviousFarcasterMuteNextFarcasterChannel

Last updated 9 months ago