Skip to content

[feature request] return data logging plugin #15

Description

@SilentCicero

Users might want to leverage Fuel's return data, we could allow a simple plugin such that everytime return data is detected, it calls a specific API. This way users could run a Fuel node and filter and database return logs based upon a specific set of criteria.

Proposed API

// ./index.js
const app = require('@fuel-js/client/src/app');

app({
   filter: async (transaction = {}) => {
       transaction.outputs....
   },
})
.then(console.log)
.catch(console.log);

Running it:

node src/index --network="rinkeby" --infura="...."

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions