Hi, @sylv1un I think so there must be some problem with your data type. here is the react code
const passArray = async () => {
let array = [1, 2]
const transactionId = await fcl.send([
fcl.transaction`
transaction(nftTosel:[UInt64]) {
prepare(signer: AuthAccount) {
}
}
`,
fcl.payer(fcl.authz),
fcl.proposer(fcl.authz),
fcl.authorizations([fcl.authz]),
fcl.limit(9999),
fcl.args([
fcl.arg(array, t.Array(t.UInt64))
])
]).then(fcl.decode);
console.log(transactionId);
}
and this is the transaction id in the testnet.
https://testnet.flowscan.org/transaction/39344b4f0f4ec6143f7352f0543cf66593f3d5afd2ae18bc19268e49702b908a/script