Swing Points Program is Live 🚀 Learn More →

Refund

post
/v0/transfer/refund

Refund a failed bridge transfer.

fromChain
Chain
required
Example:
{"chainId":1,"slug":"ethereum","name":"Ethereum"}
chainId
number
required
Example:
137
name
string
Example:
Ethereum
slug
string
required
Example:
ethereum
protocolType
string
required
Allowed values:
evmibcsolanamultiversx
Example:
evm
logo
string
Example:
https://raw.githubusercontent.com/polkaswitch/assets/master/blockchains/ethereum/info/logo.png
isSingleChainSupported
boolean

DEPRECATED - please see new platform API

Example:
false
isSingleChainStakingSupported
boolean

DEPRECATED - please see new platform API

Example:
false
blockExploreUrls
array[string]

DEPRECATED - please see new tokenExplorer/txExplorer

tokenExplorer
string
Example:
https://etherscan.io/tokens/{address}
txExplorer
string
Example:
https://etherscan.io/tx/{txHash}
nativeCurrency
string
Example:
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
Chain
required
Example:
{"chainId":1,"slug":"ethereum","name":"Ethereum"}
bridge
string
required
txId
string

Transaction hash genereated by send request

Example:
0x00000....000
userAddress
string
required

user's wallet address on destination chain

fromChainTxHash
string
required

Transaction Hash returned by signer (e.g. metamask) on source chain.

Body
preparing...