Hello World
Overview
JavaScript function to interact with Identify Snap API
const handleHelloAPIRequest = async () => {
const snapId = `npm:@hashgraph/hedera-identify-snap`
await window.ethereum.request({
method: 'wallet_invokeSnap',
params: {
snapId,
request: {
method: 'hello',
params: {}
}
}
})
}Live Demo on CodePen
Last updated
Was this helpful?

