Skip to content

Fix sending hyper core token#519

Open
0xh3rman wants to merge 1 commit into
mainfrom
fix-hypercore-token-send
Open

Fix sending hyper core token#519
0xh3rman wants to merge 1 commit into
mainfrom
fix-hypercore-token-send

Conversation

@0xh3rman

Copy link
Copy Markdown
Collaborator

No description provided.

@0xh3rman 0xh3rman requested a review from gemdev111 June 16, 2026 15:35
}

pub fn spot_token_id_for_asset_id(asset_id: &AssetId) -> Option<String> {
let (symbol, contract, _) = asset_id.token_components()?;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if asset_id.chain != Chain::HyperCore { return None; } or throw?

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