Documentation
¶
Overview ¶
Package provider provides a thin wrapper around the chain-sdk's provider REST client, integrating it with the akt context system's auth configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayClient ¶
func NewGatewayClient( ctx context.Context, cctx sdkclient.Context, addr sdk.AccAddress, providerURL string, authType string, kr sdkkeyring.Keyring, ) (rest.Client, error)
NewGatewayClient creates a provider gateway REST client configured for the given auth method. authType is "jwt" (default) or "mtls".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.