Documentation
¶
Index ¶
- func DecodeTxResponseData(d string, v proto.Unmarshaler) error
- func GetAllDIDs(ctx context.Context) ([]*identitytypes.DidDocument, error)
- func GetAllServices(ctx context.Context) ([]*identitytypes.Service, error)
- func GetDID(ctx context.Context, id string) (*identitytypes.ResolvedDidDocument, error)
- func GetService(ctx context.Context, origin string) (*identitytypes.Service, error)
- func SimulateTx(txRawBytes []byte) (*txtypes.SimulateResponse, error)
- type BroadcastTxResponse
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 ¶
func GetDID(ctx context.Context, id string) (*identitytypes.ResolvedDidDocument, error)
GetDID returns the DID document with the given id
func GetService ¶
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
Click to show internal directories.
Click to hide internal directories.