Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 820 Bytes

cast-publish.md

File metadata and controls

42 lines (26 loc) · 820 Bytes

cast publish

NAME

cast-publish - Publish a raw transaction to the network.

SYNOPSIS

cast publish [options] tx

DESCRIPTION

Publish a raw pre-signed transaction to the network.

OPTIONS

Publish Options

--async
--cast-async
    Do not wait for a transaction receipt.
    Environment: CAST_ASYNC

{{#include ../common/rpc-options.md}}

{{#include common-options.md}}

EXAMPLES

  1. Publish a pre-signed transaction:

    cast publish --rpc-url $RPC $TX
  2. Publish a pre-signed transaction with flashbots.

    cast publish --flashbots $TX

SEE ALSO

cast, cast call, cast send, cast receipt, cast mktx