@@ -533,6 +533,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
533533 */
534534 async queryAddressBalance ( address : string ) : Promise < any > {
535535 const result = await this . recoveryBlockchainExplorerQuery ( {
536+ chainid : this . getChainId ( ) . toString ( ) ,
536537 module : 'account' ,
537538 action : 'balance' ,
538539 address : address ,
@@ -634,6 +635,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
634635 const sequenceIdArgs = optionalDeps . ethAbi . rawEncode ( [ ] , [ ] ) ;
635636 const sequenceIdData = Buffer . concat ( [ sequenceIdMethodSignature , sequenceIdArgs ] ) . toString ( 'hex' ) ;
636637 const result = await this . recoveryBlockchainExplorerQuery ( {
638+ chainid : this . getChainId ( ) . toString ( ) ,
637639 module : 'proxy' ,
638640 action : 'eth_call' ,
639641 to : address ,
@@ -842,6 +844,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
842844 let nonce = 0 ;
843845
844846 const result = await this . recoveryBlockchainExplorerQuery ( {
847+ chainid : this . getChainId ( ) . toString ( ) ,
845848 module : 'account' ,
846849 action : 'txlist' ,
847850 address,
@@ -1631,6 +1634,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
16311634 }
16321635
16331636 const result = await this . recoveryBlockchainExplorerQuery ( {
1637+ chainid : this . getChainId ( ) . toString ( ) ,
16341638 module : 'account' ,
16351639 action : 'tokenbalance' ,
16361640 contractaddress : tokenContractAddress ,
@@ -2775,6 +2779,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
27752779 async getGasPriceFromExternalAPI ( wrongChainCoin : string ) : Promise < BN > {
27762780 try {
27772781 const res = await this . recoveryBlockchainExplorerQuery ( {
2782+ chainid : this . getChainId ( ) . toString ( ) ,
27782783 module : 'proxy' ,
27792784 action : 'eth_gasPrice' ,
27802785 } ) ;
@@ -2796,6 +2801,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
27962801 async getGasLimitFromExternalAPI ( intendedChain : string , from : string , to : string , data : string ) : Promise < BN > {
27972802 try {
27982803 const res = await this . recoveryBlockchainExplorerQuery ( {
2804+ chainid : this . getChainId ( ) . toString ( ) ,
27992805 module : 'proxy' ,
28002806 action : 'eth_estimateGas' ,
28012807 from,
0 commit comments