checkDelegateForAll

Check if `to` is a delegate of `from` for the entire wallet

checkDelegateForAll( to: string, from: string, rights?: string ) ⇒ Promise< boolean >

Returns true if delegate is granted to act on the from's behalf

Usage Example

const to = "0x0000000000000000000000000000000000000003";
const from = "0x0000000000000000000000000000000000000001";
const isDelegateForAll = await v2.checkDelegateForAll(to, from);

/* returns example

true

*/

Last updated