Is there any way of creating a Gnosis safe without using "safe nonces" ? I would like to automate certain transactions from a pool of already signed transactions but don't know the order.


2 Answers 2


Unfortunately you need to know the nonce before signing the transaction, as the nonce becomes part of the signed data.

You can get the last nonce by fetching the list of pending and completed transactions using the safe API:

def get_nonce():

    if not txns:
        return 0

    return txs[0]['nonce'] + 1

Creating a Gnosis Safe without "safe nonces" is not a typical practice, as Gnosis Safe uses safe nonces to ensure the order and execution of transactions within the Safe. Safe nonces help prevent a transaction from being replayed out of order or executed more than once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.