I am trying to call FA-2.0 transfer entry point using tezos taquito, I have also gone through https://tezostaquito.io/docs/complex_parameters/. however I get the error below when I try to call transfer entrypoint
const op = kalaTokenContract.methods.transfer( [from_ = sender, txs= [to_ = receiver,
amount = 1, token_id = 0]]).send();
connecting to Tezos chain: https://delphinet.smartpy.io
[
[ 'balance_of', 'list', 'contract' ],
[ 'mint', 'address', 'nat', 'string', 'nat' ],
[ 'set_administrator', 'address' ],
[ 'set_pause', 'bool' ],
[ 'token_metadata', 'list', { lambda: [Object] } ],
[ 'token_metadata_registry', 'contract' ],
[ 'transfer', 'list' ],
[ 'update_operators', 'list' ]
]
AddressValidationError {
value: undefined,
token: AddressToken {
val: { prim: 'address', annots: [Array] },
idx: 0,
fac: [Function: createToken],
createToken: [Function: createToken]
},
name: 'AddressValidationError',
message: '[from_] Address is not valid: undefined'
}```
and here is my full code snippet
https://gist.github.com/harshabakku/fd45691502aec6e7b50f9b188719ab89