parent
64b488982c
commit
3040da59d6
@ -1,8 +1,9 @@ |
|||||||
/** |
/** |
||||||
* @param {string} apikey - etherscan api key |
* @param {string} apikey - etherscan api key |
||||||
* @param {string} guid - receipt id |
* @param {string} guid - receipt id |
||||||
|
* @param {boolean} isProxyContract - true, if contract is a proxy contract (optional) |
||||||
* @returns {{ status, message, succeed }} receiptStatus |
* @returns {{ status, message, succeed }} receiptStatus |
||||||
*/ |
*/ |
||||||
export const receiptStatus = async (apikey: string, guid: string) => { |
export const receiptStatus = async (apikey: string, guid: string, isProxyContract?: boolean) => { |
||||||
return await remix.call('etherscan' as any, 'receiptStatus', guid, apikey) |
return await remix.call('etherscan' as any, 'receiptStatus', guid, apikey, isProxyContract) |
||||||
} |
} |
Loading…
Reference in new issue