This is the code to check the allowance of addresses. You need to update the params
with the correct addresses.
const options = {
chain: 'eth',
address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
function_name: "allowance",
abi: [{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}],
params: {
_owner: "ownerAddressHere",
_spender: "SpenderAddressHere"
}
};
const result = await Moralis.Web3API.native.runContractFunction(options);
console.log(result)