Crypto Payment Verifier with Price Converter using CoinGecko API
Events:
GotConversionResult
Triggered when currency conversion is complete
| Parameter | Type |
|---|---|
| convertedAmount | number |
| status | text |
| fromCurrency | text |
| toCurrency | text |
| originalAmount | number |
GotPaymentResponse
Triggered when payment verification is complete with full details
| Parameter | Type |
|---|---|
| network | text |
| receiverAddress | text |
| amount | number |
| senderAddress | text |
| cryptoName | text |
| paymentStatus | text |
| txHash | text |
Methods:
CryptoToUSD
Convert cryptocurrency amount to USD
| Parameter | Type |
|---|---|
| cryptoName | text |
| amount | number |
GetCoinGeckoId
Get CoinGecko coin ID for a cryptocurrency
| Parameter | Type |
|---|---|
| cryptoName | text |
Return Type: text
GetCryptoSymbol
Get cryptocurrency symbol for a network
| Parameter | Type |
|---|---|
| network | text |
Return Type: text
GetSupportedNetworks
Get list of all supported networks
Return Type: list
USDToCrypto
Convert USD amount to cryptocurrency
| Parameter | Type |
|---|---|
| cryptoName | text |
| usdAmount | number |
VerifyBSCTransaction
Verify BSC transaction with full details
| Parameter | Type |
|---|---|
| txHash | text |
VerifyEthereumTransaction
Verify Ethereum transaction with full details
| Parameter | Type |
|---|---|
| txHash | text |
VerifyPolygonTransaction
Verify Polygon transaction with full details
| Parameter | Type |
|---|---|
| txHash | text |
VerifyTransaction
Verify transaction on any supported network
| Parameter | Type |
|---|---|
| txHash | text |
| network | text |
VerifyTronTransaction
Verify Tron transaction with full details
| Parameter | Type |
|---|---|
| txHash | text |
Extension Blocks
Example to set Payment Validation
Download AIX:
CryptoPayment.aix (33.7 KB)
Note:
- it only support native coin such as, Ethereum Network support only ETH, BSC network support only BNB, Polygon Network support only MATIC and TRON Network only Support TRX
- Check with block hash key on explorer there are many transaction hash on each network explorer.

