Skip to main content

Deposit Webhook

Webhook

  • Description: Send from MiraiBank to app notificationUrl
  • Method: POST
  • Params:
NameTypeDescription
txidstringTXID
chainTxidstringonchain TXID
useraddressAddress of user
appaddressAddress of app
amountOrTokenIdstringAmount or tokenId
assetobjectAsset
asset.namestringName of asset
asset.symbolstringSymbol of asset
asset.decimalsnumberDecimals of asset
asset.identitystringIdentity of asset
asset.addressstringAddress of asset, same with identity if user deposit from MiraiBank
chainobjectChain which user is deposited
chain.chainIdstringChainId of asset, which user is deposited, MIRAIBANK if user deposit from MiraiBank
chain.isMainnetboolChain, which user is deposited
chain.chainTypeEIP155,SOLANA,MIRAIBANKType of chain, which user is deposited
signaturestringSignature amountOrTokenId=&app=&asset=${asset.address}&salt=${txid}&wallet=${user}
  • Return Values: JSON object
NameTypeDescription
statusboolStatus of request