Take list as buyer - tx
Take the 𝔉rc20 token sale listing as a buyer
Example of Fixes Inscription data string:
Transaction parameters:
Key
Required
FType
Description
tick
t.String
Ticker: identity of the 𝔉rc20 token
batchBuyItems
t.Dictionary({ key: t.String, value: t.UFix64 })
The dictionary for buying:
rankedId => Amount
You can get RankedListingId by querying the marketplace
📓Note: The key of batchBuyItems
should be itemInMarket.rankedId
which can be obtained in the response of querying listings. and the value is how much tokens you will take in the order. 𝔉rc20 trading orders support partial deal.
Transaction code example:
Transaction source code
Related docs
Last updated