Hi, I tried to use the requests below to fetch the allowance value but it keeps returning an empty set. I’m not sure where the error is originating from. Something to check out by the Moralis team in case it is broken or something…
token = web3.toChecksumAddress('0xfd290c590866f8282d89671A85Ac9964b165d682')
chain = "bsc"
apprvUrl = 'https://deep-index.moralis.io/api/v2/erc20/' + token + '/allowance?chain=' + chain + '&owner_address=' + my_wallet_address + '&spender_address=' + router_address
apprvStatusReq = requests.request("GET", apprvUrl, headers=my_moralis_API)
print(json.dumps(apprvStatusReq.json(), indent=4))