Icon Linkforc-client

A forc plugin for interacting with a Fuel node.

Icon LinkUSAGE:

forc-submit [OPTIONS] <TX_PATH>

Icon LinkARGS:

<TX_PATH> Path to the Transaction that is to be submitted to the Fuel node.

Paths to files ending with .json will be deserialized from JSON. Paths to files ending with .bin will be deserialized from bytes using thefuel_tx::Transaction::try_from_bytes constructor.

Icon LinkOPTIONS:

--await <await>

Whether or not to await confirmation that the transaction has been committed.

When true, await commitment and output the transaction status. When false, do not await confirmation and simply output the transaction ID.

[default: true]

-h, --help

Print help information

--node-url <NODE_URL>

The URL of the Fuel node to which we're submitting the transaction

[env: FUEL_NODE_URL=] [default: http://127.0.0.1:4000]

--tx-status-json <json>

Output the resulting transaction status as JSON rather than the default output

[default: false]

-V, --version

Print version information

Icon ListDetailsOn this page