resolver

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeTxResponseData

func DecodeTxResponseData(d string, v proto.Unmarshaler) error

func GetAllDIDs

func GetAllDIDs(ctx context.Context) ([]*identitytypes.DidDocument, error)

GetAllDIDs returns all DID documents

func GetAllServices

func GetAllServices(ctx context.Context) ([]*identitytypes.Service, error)

GetAllServices returns all services

func GetDID

GetDID returns the DID document with the given id

func GetService

func GetService(ctx context.Context, origin string) (*identitytypes.Service, error)

GetService returns the service with the given id

func SimulateTx

func SimulateTx(txRawBytes []byte) (*txtypes.SimulateResponse, error)

SimulateTx simulates a transaction on the Sonr blockchain network

Types

type BroadcastTxResponse

type BroadcastTxResponse = txtypes.BroadcastTxResponse

func BroadcastTx

func BroadcastTx(txRawBytes []byte) (*BroadcastTxResponse, error)

BroadcastTx broadcasts a transaction on the Sonr blockchain network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL