Resolve a rail's send amount from an explicit value or the BIP21 amount= param, validated as a positive integer number of satoshis. Rejecting here keeps the router from surfacing a { amount: 0 } quote that only fails later in wallet/swap code.
amount=
{ amount: 0 }
Optional
Resolve a rail's send amount from an explicit value or the BIP21
amount=param, validated as a positive integer number of satoshis. Rejecting here keeps the router from surfacing a{ amount: 0 }quote that only fails later in wallet/swap code.