[SOLVED] Native address for bsc

Hey i tried using the 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE address on the bsc chain to swap token and it didnt work threw an error in the moralis.js script, but was able to use WBNB just fine

chain: “bsc”, // The blockchain you want to use (eth/bsc/polygon)
tokenAddress: “0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c”, // The token you want to swap
fromAddress: address, // Your wallet address

i just need to know what to put in the tokenAddress spot for native address of smart chain, currently it is the wrapped bnb address

figured it out it didnt need the allowance section of the script

2 Likes