-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b77cd17
commit 990e23e
Showing
9 changed files
with
376 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { | ||
CreateEtchOrderRequest, | ||
CreateMintOrderRequest, | ||
EstimateEtchOrderRequest, | ||
EstimateMintOrderRequest, | ||
EstimateOrderResponse, | ||
} from '../../runes/types'; | ||
import { BitcoinNetworkType, MethodParamsAndResult } from '../../types'; | ||
|
||
export interface EstimateRunesMintParams extends EstimateMintOrderRequest { | ||
network?: BitcoinNetworkType; | ||
} | ||
|
||
export type EstimateRunesMintResult = EstimateOrderResponse; | ||
|
||
export type EstimateRunesMint = MethodParamsAndResult< | ||
EstimateRunesMintParams, | ||
EstimateRunesMintResult | ||
>; | ||
|
||
export interface MintRunesParams extends CreateMintOrderRequest { | ||
network?: BitcoinNetworkType; | ||
} | ||
|
||
export type MintRunesResult = { | ||
orderId: string; | ||
fundTransactionId: string; | ||
}; | ||
|
||
export type MintRunes = MethodParamsAndResult<MintRunesParams, MintRunesResult>; | ||
|
||
export interface EstimateRunesEtchParams extends EstimateEtchOrderRequest { | ||
network?: BitcoinNetworkType; | ||
} | ||
|
||
export type EstimateRunesEtchResult = EstimateOrderResponse; | ||
|
||
export type EstimateRunesEtch = MethodParamsAndResult< | ||
EstimateRunesEtchParams, | ||
EstimateRunesEtchResult | ||
>; | ||
|
||
export interface EtchRunesParams extends CreateEtchOrderRequest { | ||
network?: BitcoinNetworkType; | ||
} | ||
|
||
export type EtchRunesResult = { | ||
orderId: string; | ||
fundTransactionId: string; | ||
}; | ||
|
||
export type EtchRunes = MethodParamsAndResult<EtchRunesParams, EtchRunesResult>; |
Oops, something went wrong.