Refund
post
/v0/transfer/refund
Refund a failed bridge transfer.
fromChain
ChainExample:
{"chainId":1,"slug":"ethereum","name":"Ethereum"}
chainId
numberExample:
137
name
stringExample:
Ethereum
slug
stringExample:
ethereum
protocolType
stringAllowed values:
evmibcsolanamultiversx
Example:
evm
logo
stringExample:
https://raw.githubusercontent.com/polkaswitch/assets/master/blockchains/ethereum/info/logo.png
isSingleChainSupported
booleanDEPRECATED - please see new platform API
Example:
false
isSingleChainStakingSupported
booleanDEPRECATED - please see new platform API
Example:
false
blockExploreUrls
array[string]DEPRECATED - please see new tokenExplorer/txExplorer
tokenExplorer
stringExample:
https://etherscan.io/tokens/{address}
txExplorer
stringExample:
https://etherscan.io/tx/{txHash}
nativeCurrency
stringExample:
ETH
allowSwapFromChains
array[string]DEPRECATED - please see new platform API
allowSwapToChains
array[string]DEPRECATED - please see new platform API
rpcUrls
array[string]restRpcs
array[string]DEPRECATED - please see new rpcUrls
tokens
array[Token]toChain
ChainExample:
{"chainId":1,"slug":"ethereum","name":"Ethereum"}
bridge
stringtxId
stringTransaction hash genereated by send request
Example:
0x00000....000
userAddress
stringuser's wallet address on destination chain
fromChainTxHash
stringTransaction Hash returned by signer (e.g. metamask) on source chain.
preparing...