For building NEAR transactions you cannot serialize large numbers (over U64) into json for example see here https://github.com/PiVortex/subscription-example/blob/main/contract/src/charge_subscription.rs#L74 fix this. Consider using NearToken and U64/U128
This may be the case for Ethereum and Bitcoin also, this will need investigating.