MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / EnsureAccountExistsFromAddr

Method EnsureAccountExistsFromAddr

client/context/query.go:127–138  ·  view source on GitHub ↗

EnsureAccountExistsFromAddr ensures that an account exists for a given address. Instead of using the context's from name, a direct address is given. An error is returned if it does not.

(addr sdk.AccAddress)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetAccountCmdFunction · 0.80

Calls 2

QueryStoreMethod · 0.95
ErrInvalidAccountFunction · 0.85

Tested by

no test coverage detected