Closed exfoex closed 1 year ago
tx=await tronWeb.transactionBuilder.getDelegatedResourceAccountIndexV2( ad1)
This returns an error:
TypeError: tronWeb.transactionBuilder.getDelegatedResourceAccountIndexV2 is not a function
is this improvement already implemented here?
Yes. But it's not in transactionBuilder module. You need to try tronWeb.trx.getDelegatedResourceAccountIndexV2( ad1). And TronWeb version should be v5.1.0 or newer.
tronWeb.trx.getDelegatedResourceAccountIndexV2( ad1)
tx=await tronWeb.transactionBuilder.getDelegatedResourceAccountIndexV2( ad1)
This returns an error:
TypeError: tronWeb.transactionBuilder.getDelegatedResourceAccountIndexV2 is not a function
is this improvement already implemented here?