I want to grant permission of send and receive to every new address but not able to do this
Here is my code
var grant=async()=>{
await multichain.grant({address:"16jX3qouzbM24UWe6ee7XDKzCEwKd7UmvyKnJb",permissions:"send"}, (err, res) => {
console.log(err)
console.log("This is token:"+res)
})
}
grant();
////////////////////////////////////////////
Error:{ code: -1, message: 'value is type null, expected str' }
I dont know about the params of grant function in multichain can anyOne guide me please?
Thnx in advance