MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetAccountMetadataByAddress

Method GetAccountMetadataByAddress

account/client.go:272–280  ·  view source on GitHub ↗
(address string)

Source from the content-addressed store, hash-verified

270}
271
272func (this *ClientImpl) GetAccountMetadataByAddress(address string) *AccountMetadata {
273 this.lock.RLock()
274 defer this.lock.RUnlock()
275 accData, ok := this.accAddrs[address]
276 if !ok {
277 return nil
278 }
279 return this.getAccountMetadata(accData)
280}
281
282func (this *ClientImpl) GetAccountMetadataByLabel(label string) *AccountMetadata {
283 if label == "" {

Callers 1

TestImportAccountFunction · 0.95

Calls 1

getAccountMetadataMethod · 0.95

Tested by 1

TestImportAccountFunction · 0.76