Why is amount an integer in manage_offer operation?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
The Manage Offer API doc states the amount
is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
payments manageofferoperation
add a comment |
up vote
2
down vote
favorite
The Manage Offer API doc states the amount
is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
payments manageofferoperation
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
The Manage Offer API doc states the amount
is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
payments manageofferoperation
The Manage Offer API doc states the amount
is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
payments manageofferoperation
payments manageofferoperation
edited 5 hours ago
Synesso♦
2,156323
2,156323
asked 9 hours ago
Steve Kirsch
1055
1055
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
add a comment |
up vote
2
down vote
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
add a comment |
up vote
2
down vote
up vote
2
down vote
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
answered 8 hours ago
Steve Kirsch
1055
1055
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstellar.stackexchange.com%2fquestions%2f1870%2fwhy-is-amount-an-integer-in-manage-offer-operation%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password