Validates that a grant allows access for the requesting address.
The grant file to validate. Obtain from permission operations or server responses.
The address requesting access. Typically the current wallet address.
If addresses don't match. Ensure using the correct wallet that received the grant.
validateGranteeAccess(grantFile, walletAddress);// Throws if walletAddress doesn't match grantFile.grantee Copy
validateGranteeAccess(grantFile, walletAddress);// Throws if walletAddress doesn't match grantFile.grantee
Validates that a grant allows access for the requesting address.