- Preparing search index...
- The search index is not available
rubic-sdk
Class CrossChainCbridgeManager
Methods
Static
getTransferId
- getTransferId(sourceTransaction: string, fromBlockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "ASTAR_EVM"): Promise<string>
-
Parameters
-
sourceTransaction: string
-
fromBlockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "ASTAR_EVM"
Returns Promise<string>
Static
makeRefund
- makeRefund(fromBlockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "ASTAR_EVM", sourceTransaction: string, estimateAmount: string, onTransactionHash: ((hash: string) => void)): Promise<null | TransactionReceipt>
-
Parameters
-
fromBlockchain: "MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "ASTAR_EVM"
-
sourceTransaction: string
-
estimateAmount: string
-
onTransactionHash: ((hash: string) => void)
-
- (hash: string): void
-
Returns void
Returns Promise<null | TransactionReceipt>