Pending Transactions

ape safe pending

Commands for handling pending transactions

Usage

ape safe pending [OPTIONS] COMMAND [ARGS]...

approve

Usage

ape safe pending approve [OPTIONS] NONCE_OR_SAFE_TX_HASH(s)

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>
--execute <execute>

Arguments

NONCE_OR_SAFE_TX_HASH(s)

Optional argument(s)

ensure

Ensure Safe API queue matches scripts/

This command uses scripts from scripts/<ecosystem-name>_<network-name>_nonce*.py (or scripts/nonce*.py if no network-specified scripts detected) and “replays” them from the Safe’s current on-chain nonce, up to the last script available in the folder. When executed using a fork network, it will only perform a simulated validation of the script. When executed using a live network, it will propose the transaction ONLY IF the transaction at that nonce height does not match the expected calldata.

To enable this, scripts under scripts/ must be properly named, and all use ape_safe.cli.propose_batch.

Usage

ape safe pending ensure [OPTIONS]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--submitter <submitter>
--safe <safe>

execute

Execute a transaction

Usage

ape safe pending execute [OPTIONS] NONCE_OR_SAFE_TX_HASH(s)

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>
--submitter <submitter>

Account to execute

--nonce <nonce>

Submitter nonce

Arguments

NONCE_OR_SAFE_TX_HASH(s)

Optional argument(s)

list

View pending transactions for a Safe

Usage

ape safe pending list [OPTIONS]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>
--verbose

propose

Create a new transaction

Usage

ape safe pending propose [OPTIONS]

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>
--data <data>

Transaction data

--gas-price <gas_price>

Transaction gas price

--value <value>

Transaction value

--to <receiver>

Transaction receiver

--nonce <nonce>

Transaction nonce

--sender <sender>
--execute

Execute if possible after proposal

reject

Reject one or more pending transactions

Usage

ape safe pending reject [OPTIONS] NONCE_OR_SAFE_TX_HASH(s)

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>
--execute <execute>

Arguments

NONCE_OR_SAFE_TX_HASH(s)

Optional argument(s)

show-confs

Show existing confirmations

Usage

ape safe pending show-confs [OPTIONS] TXN_ID

Options

-v, --verbosity <LVL>

One of ERROR, WARNING, SUCCESS, INFO, or DEBUG

--safe <safe>

Arguments

TXN_ID

Required argument