Interface EstimateBridgeTransactionFromRunesInput

interface EstimateBridgeTransactionFromRunesInput {
    amount: `${string} (BroSDK number)`;
    fromAddress: string;
    fromAddressScriptPubKey: Uint8Array;
    fromChain: `${string} (BroSDK ChainId)`;
    fromToken: `${string} (BroSDK TokenId)`;
    inputRuneUTXOs: RunesUTXOSpendable[];
    networkFeeChangeAddress: string;
    networkFeeChangeAddressScriptPubKey: Uint8Array;
    networkFeeRate: bigint;
    reselectSpendableNetworkFeeUTXOs: ReselectSpendableUTXOsFn_Public;
    swapRoute?: SwapRoute_WithMinimumAmountsOut;
    toAddress: string;
    toAddressScriptPubKey?: Uint8Array<ArrayBufferLike>;
    toChain: `${string} (BroSDK ChainId)`;
    toToken: `${string} (BroSDK TokenId)`;
}

Properties

amount: `${string} (BroSDK number)`
fromAddress: string
fromAddressScriptPubKey: Uint8Array
fromChain: `${string} (BroSDK ChainId)`
fromToken: `${string} (BroSDK TokenId)`
inputRuneUTXOs: RunesUTXOSpendable[]
networkFeeChangeAddress: string
networkFeeChangeAddressScriptPubKey: Uint8Array
networkFeeRate: bigint
reselectSpendableNetworkFeeUTXOs: ReselectSpendableUTXOsFn_Public
toAddress: string
toAddressScriptPubKey?: Uint8Array<ArrayBufferLike>

Required when toChain is one of bitcoin chains

toChain: `${string} (BroSDK ChainId)`
toToken: `${string} (BroSDK TokenId)`