zkApp Developerso1js ReferenceNamespacesMinaFunctionshasAccounthasAccountfunction hasAccount(publicKey: PublicKey, tokenId?: Field): boolean Checks if an account exists within the ledger. Parameters • publicKey: PublicKey • tokenId?: Field Returns boolean Source lib/mina/mina-instance.ts:151