Guides

Latest Paid Actions

Retrieve a list of the latest paid actions that took place on the Lens protocol. Paid actions include paid follows and paid open actions (i.e paid collect).

fragment PaidAction on PaidAction {
  ... on FollowPaidAction {
 		latestActed {
     	profile {
       	... Profile 
      }
      
      actedAt
      txHash
    }
  }
  
  ... on OpenActionPaidAction {
  	latestActed {
   		profile {
       	... Profile 
      }
      
      actedAt
      txHash
    }
    
    actedOn {
     	... on Post {
      	... Post	 
      }
      
      ... on Comment {
       	... Comment 
      }
      
      ... on Quote {
       	... Quote 
      }
    }
  }
}

query LatestPaidActions {
  result: latestPaidActions {
    items {
      ...PaidAction
    }
    pageInfo {
      ...PaginatedResultInfo
    }
  }
}