hello
How to call the API from an app
const snapId = `npm:@hashgraph/hedera-identify-snap`
const handleHelloAPI = async () => {
await window.ethereum.request({
method: 'wallet_invokeSnap',
params: {
snapId,
request: { method: 'hello', params: {} }
}
})
}How the API is handled between the app and snap

What the API does

Live Demo on CodePen
Last updated
Was this helpful?

