Closed StasFQ closed 8 months ago
when I using this code: txb = ( client.trx.transfer(address_from, address_to, amount) .memo("test memo") .fee_limit(100_000_000) ) txn = await txb.build() txn_ret = await txn.sign(priv_key).broadcast() I got this error.How to fix that? Client error '403 Forbidden' for url 'https://api.trongrid.io/walletsolidity/getnowblock' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Most likely either trongrid has banned your ip, or it requires an ip key Try ankr rpc https://rpc.ankr.com/http/tron
when I using this code: txb = ( client.trx.transfer(address_from, address_to, amount) .memo("test memo") .fee_limit(100_000_000) ) txn = await txb.build() txn_ret = await txn.sign(priv_key).broadcast() I got this error.How to fix that? Client error '403 Forbidden' for url 'https://api.trongrid.io/walletsolidity/getnowblock' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403