This is from nft template
{
"step": "scCall",
"txId": "buy-nft-1",
"tx": {
"from": "address:buyer",
"to": "sc:my-contract",
"egldValue": "500",
"function": "buyNft",
"arguments": [
"1"
],
"gasLimit": "20,000,000",
"gasPrice": "0"
},
"expect": {
"out": [],
"status": "0",
"message": "",
"gas": "*",
"refund": "*"
}
},
Question: How do you specify that you buy with a different token?
Like so: https://github.com/ElrondNetwork/elrond-wasm-rs/blob/master/contracts/examples/lottery-esdt/mandos/buy-ticket.scen.json#L27 { "step": "scCall", "txId": "buy-ticket", "tx": { "from": "address:acc1", "to": "sc:lottery", "esdtValue": [ { "tokenIdentifier": "str:LOTTERY-123456", "value": "100" } ], "function": "buy_ticket", "arguments": [ "str:lottery_name" ], "gasLimit": "100,000,000", "gasPrice": "0" }, "expect": { "out": [], "status": "", "gas": "*", "refund": "*" } },