You are viewing a single comment's thread:

RE: Opening a NFT card shop in Splinterlands for $25+

(edited)

Ok, I tried
key = try_load_key("active.key")

and this
bids = [
{ "card_detail_id": 439, "amount": 2, "bid_usd": "6.00", "edition": 7 }
]
and this change
def get_sale_by_card(id, edition, gold=True):

Is generating this output which is not what I was expecting.
Buying 439 at $1500, 455746.9692826542645971893066 DEC

0E-8 BEE
1 comments
(edited)

Sorry about that - I've updated the script to support gold cards and fix this bug you encountered. Just include "gold": True in the bid after updating.

e.g.
{ "card_detail_id": 439, "amount": 2, "bid_usd": "6.00", "edition": 7, "gold": True }

Edit: code

0E-8 BEE