cast-publish - Publish a raw transaction to the network.
cast publish
[options] tx
Publish a raw pre-signed transaction to the network.
--async
--cast-async
Do not wait for a transaction receipt.
Environment: CAST_ASYNC
{{#include ../common/rpc-options.md}}
{{#include common-options.md}}
-
Publish a pre-signed transaction:
cast publish --rpc-url $RPC $TX
-
Publish a pre-signed transaction with flashbots.
cast publish --flashbots $TX