Function
getExpectedAccountIdFromMainAuthDescriptor
getExpectedAccountIdFromMainAuthDescriptor( authDescriptor: AnyAuthDescriptorRegistration, merkleHashVersionSource: MerkleHashVersionSource, ): Buffer<ArrayBufferLike>Computes the expected account ID if an account was registered with the provided auth descriptor
Parameters
- authDescriptor: AnyAuthDescriptorRegistration
the auth descriptor to use to compute the expected account ID
- merkleHashVersionSource: MerkleHashVersionSource
the source to use to get the merkle hash version from, or the merkle hash version itself
Returns Buffer<ArrayBufferLike>
the expected account ID
- authDescriptor: AnyAuthDescriptorRegistration