Short answer: An amount of 2**64 or more does not fit in 64 bits. The SDK does not catch it when you construct the transaction; encoding fails.
OverflowError: Integer value out of range
Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.
Captured with amount 2**64: PaymentTxn was created, and .sign(sk) raised an OverflowError that does not mention the amount.
Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors