Is there currently a way to view historic logs of contracts?

If it is not yet supported in the rust SDK, is there another way to get the logs?

Hey @soltheon, we currently don’t support archive calls on our client. While it’s on our list of features, it’s relatively low priority. We generally encourage developers reconstruct state by indexing receipts in place of direct historical queries.

Hey @soltheon - feel free to use envio to index these logs on Fuel: Indexing Sway Farm on the Fuel Network | Envio

Many teams are using our HyperIndex framework to quickly scan the entire Fuel chain and index logs of interest.

Feel free to reach out if you’d like more info!

1 Like

Ok shouldn’t be a problem, thanks!

looks great, will try it out :ok_hand:

hey sorry, i couldn’t figure out how to index receipts when i am not the one calling the contract. is there a way to do this?
‘’’

let transactions = provider
    .get_transactions(PaginationRequest {
        cursor: None,
        results: 3,
        direction: PageDirection::Backward,
    })
    .await?;

‘’’