Skip to content

feat(abstract-utxo): export UtxoCoinName types and type guards#8071

Merged
lcovar merged 1 commit intomasterfrom
BTC-3011-export-utxo
Feb 5, 2026
Merged

feat(abstract-utxo): export UtxoCoinName types and type guards#8071
lcovar merged 1 commit intomasterfrom
BTC-3011-export-utxo

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Feb 5, 2026

Export the following from @bitgo/abstract-utxo main entry point:

  • UtxoCoinName, UtxoCoinNameMainnet, UtxoCoinNameTestnet types
  • isUtxoCoinName, isUtxoCoinNameMainnet, isUtxoCoinNameTestnet type guards
  • utxoCoinsMainnet, utxoCoinsTestnet constants

This allows consumers to properly type check coin names instead of using as any casts when calling functions like getTransactionExplanation.

TICKET: BTC-3011

BTC-3011

Export the following from @bitgo/abstract-utxo main entry point:
- UtxoCoinName, UtxoCoinNameMainnet, UtxoCoinNameTestnet types
- isUtxoCoinName, isUtxoCoinNameMainnet, isUtxoCoinNameTestnet type guards
- utxoCoinsMainnet, utxoCoinsTestnet constants

This allows consumers to properly type check coin names instead of
using `as any` casts when calling functions like getTransactionExplanation.

TICKET: BTC-3011
@lcovar lcovar marked this pull request as ready for review February 5, 2026 20:28
@lcovar lcovar requested a review from a team as a code owner February 5, 2026 20:28
@lcovar lcovar merged commit 32059a0 into master Feb 5, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants