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

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

Returns true if delegate is granted to act on from's behalf for entire wallet or that specific contract

Usage Example

const to = "0x0000000000000000000000000000000000000003";
const from = "0x0000000000000000000000000000000000000001";
const contract = "0x0000000000000000000000000000000000000002";
const isDelegateForContract = await v2.checkDelegateForContract(to, from, contract);

/* returns example



Last updated