@xchainjs/xchain-evm
Advanced tools
Comparing version 0.2.0 to 0.2.2
import { Provider, TransactionResponse } from '@ethersproject/abstract-provider'; | ||
import { Balance, BaseXChainClient, ExplorerProviders, FeeOption, Fees, Network, OnlineDataProviders, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from '@xchainjs/xchain-client'; | ||
import { AssetInfo, Balance, BaseXChainClient, ExplorerProviders, FeeOption, Fees, Network, OnlineDataProviders, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from '@xchainjs/xchain-client'; | ||
import { Address, Asset, BaseAmount, Chain } from '@xchainjs/xchain-util'; | ||
@@ -82,2 +82,7 @@ import { BigNumber, Signer, ethers } from 'ethers'; | ||
/** | ||
* | ||
* @returns asset info | ||
*/ | ||
getAssetInfo(): AssetInfo; | ||
/** | ||
* Get the explorer url for the given address. | ||
@@ -84,0 +89,0 @@ * |
@@ -487,2 +487,13 @@ import { BaseXChainClient, Network, FeeOption, checkFeeBounds, standardFeeRates, FeeType, TxType } from '@xchainjs/xchain-client'; | ||
/** | ||
* | ||
* @returns asset info | ||
*/ | ||
getAssetInfo() { | ||
const assetInfo = { | ||
asset: this.gasAsset, | ||
decimal: this.gasAssetDecimals, | ||
}; | ||
return assetInfo; | ||
} | ||
/** | ||
* Get the explorer url for the given address. | ||
@@ -489,0 +500,0 @@ * |
@@ -495,2 +495,13 @@ 'use strict'; | ||
/** | ||
* | ||
* @returns asset info | ||
*/ | ||
getAssetInfo() { | ||
const assetInfo = { | ||
asset: this.gasAsset, | ||
decimal: this.gasAssetDecimals, | ||
}; | ||
return assetInfo; | ||
} | ||
/** | ||
* Get the explorer url for the given address. | ||
@@ -497,0 +508,0 @@ * |
{ | ||
"name": "@xchainjs/xchain-evm", | ||
"version": "0.2.0", | ||
"version": "0.2.2", | ||
"description": "Genereic EVM client for XChainJS", | ||
@@ -37,15 +37,15 @@ "keywords": [ | ||
"devDependencies": { | ||
"@xchainjs/xchain-client": "^0.14.0", | ||
"@xchainjs/xchain-client": "^0.14.1", | ||
"@xchainjs/xchain-crypto": "^0.3.0", | ||
"@xchainjs/xchain-util": "^0.13.0", | ||
"axios": "^1.3.6", | ||
"ethers": "^5.6.6" | ||
"ethers": "^5.7.2" | ||
}, | ||
"peerDependencies": { | ||
"@xchainjs/xchain-client": "^0.14.0", | ||
"@xchainjs/xchain-client": "^0.14.1", | ||
"@xchainjs/xchain-crypto": "^0.3.0", | ||
"@xchainjs/xchain-util": "^0.13.0", | ||
"axios": "^1.3.6", | ||
"ethers": "^5.6.6" | ||
"ethers": "^5.7.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
311701
4994