package
0.0.0-20250204070817-3c82b7ad6a9f
Repository: https://github.com/0chain/gosdk_common.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetNetwork gets current network details from 0chain network.
GetNode Returns Node instance.
No description provided by the author
No description provided by the author
Init Initializes SDK.
No description provided by the author
InitSDK Initialize the storage SDK - walletJSON: Client's wallet JSON - blockWorker: Block worker URL (block worker refers to 0DNS) - chainID: ID of the blokcchain network - signatureScheme: Signature scheme that will be used for signing transactions - preferredBlobbers: List of preferred blobbers to use when creating an allocation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetAuthUrl will be called by app to set zauth URL to SDK.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
splitKeyWallet parameter is valid only if SignatureScheme is "BLS0Chain".
No description provided by the author
SetWallet should be set before any transaction or client specific APIs.
SetWalletMode sets current wallet split key mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

maintains client's information.
No description provided by the author
No description provided by the author
Node Maintains central states of SDK (client's context, network).
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

SCRestAPIHandler is a function type to handle the response from the SC Rest API `response` - the response from the SC Rest API `numSharders` - the number of sharders that responded `err` - the error if any.
No description provided by the author