What's MIN / MAX Order Expiration?

One of the parameters when placing an order is expiration. It’s the number of blocks an unmatched order stays active before it expires.

What’s the range of allowed values?

And how to set this parameter in different wallets?

1 Like

I just checked the code and it appears the acceptable range for expiration is 0-8064 blocks (2 months)

As far as how to set the parameter in different wallets… each wallet provider will need to update their wallet to collect an expiration field and pass that data on to the create_order API request

https://counterparty.io/docs/api/#create_order

Thanks!

I tested with Counterwallet and it supports the entire range.

8064 works.
8065 returns an error.