package
Version:
v0.0.0-...-269d6e4
Opens a new window with list of versions in this module.
Published: Nov 24, 2022
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Service struct {
chainapi.UnimplementedChainApiServiceServer
}
Service implements the chainservice for NEAR.
NewService creates a new Service.
Close stops the server and cleans up all internally created resources.
HasDeposit returns whether or not the specified account id has deposited funds.
func (s *Service) OwnsPublicKey(
ctx context.Context,
req *chainapi.OwnsPublicKeyRequest,
) (*chainapi.OwnsPublicKeyResponse, error)
OwnsPublicKey returns whether or not the specified account owns the provided public key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.