- public Option_u64Z amount_pico_btc() {
- long ret = bindings.Invoice_amount_pico_btc(this.ptr);
- if (ret < 1024) { return null; }
+ public Option_u64Z amount_milli_satoshis() {
+ long ret = bindings.Invoice_amount_milli_satoshis(this.ptr);
+ if (ret >= 0 && ret <= 4096) { return null; }