The fix is not the nicest one, it simply verifies what endpoint was set in client options and based on that decides headers.
As far as these crypto exchanges are not going to open a new domain for each country and as far as it remains the US and remaining world, I think the fix is fine.
There was also one issue for https://docs.ftx.us/?csharp#create-order
CreateOrder throws an error that allowTip is an unknown parameter. So I changed it to allowTips and it worked. But it seems this value is not going to their server. But at least the main functionally is working.
Based on: https://docs.ftx.us/?csharp#authentication Authentication headers are different from
ftx.com
.The fix is not the nicest one, it simply verifies what endpoint was set in client options and based on that decides headers. As far as these crypto exchanges are not going to open a new domain for each country and as far as it remains the US and remaining world, I think the fix is fine.
There was also one issue for https://docs.ftx.us/?csharp#create-order CreateOrder throws an error that
allowTip
is an unknown parameter. So I changed it toallowTips
and it worked. But it seems this value is not going to their server. But at least the main functionally is working.