Versions in this module Expand all Collapse all v1 v1.0.52 Mar 20, 2024 Changes in this version + var IntentBytes = []byte + type AddStakeRequest struct + Amount string + Coins []string + Gas string + GasBudget string + Signer string + Validator string + type Apy struct + Address string + Apy float64 + type BalanceChanges struct + Amount string + CoinType string + Owner ObjectOwner + type Base64Data struct + func NewBase64Data(str string) (*Base64Data, error) + func (h Base64Data) Data() []byte + type BatchTransactionRequest struct + Gas string + GasBudget string + RPCTransactionRequestParams []RPCTransactionRequestParams + Signer string + SuiTransactionBlockBuilderMode string + type BatchTransactionResponse struct + Gas []sui_types.SuiObjectRef + InputObjects []interface{} + TxBytes string + type Bytes []byte + func (b Bytes) GetBase64Data() Base64Data + func (b Bytes) GetHexData() HexData + type CheckpointResponse struct + CheckpointCommitments []interface{} + Digest string + Epoch string + EpochRollingGasCostSummary EpochRollingGasCostSummary + NetworkTotalTransactions string + PreviousDigest string + SequenceNumber string + TimestampMs string + Transactions []string + ValidatorSignature string + type ChildObjectsResponse struct + LoadedChildObjects []*SuiLoadedChildObject + type CoinAllBalanceResponse []CoinBalanceResponse + type CoinBalanceResponse struct + CoinObjectCount int + CoinType string + LockedBalance CoinLockedBalance + TotalBalance string + type CoinData struct + Balance string + CoinObjectId string + CoinType string + Digest string + LockedUntilEpoch uint64 + PreviousTransaction string + Version string + type CoinLockedBalance struct + EpochId int + Number int + type CoinMetadataResponse struct + Decimals int + Description string + IconUrl string + Id string + Name string + Symbol string + type DelegatedStakeInfo struct + EstimatedReward string + Principal string + StakeActiveEpoch string + StakeRequestEpoch string + StakedSuiId string + Status string + type DelegatedStakesResponse struct + Stakes []DelegatedStakeInfo + StakingPool string + ValidatorAddress string + type Digest = Base64Data + type Display interface + Creator func() string + Description func() string + ImageURL func() string + Link func() string + Name func() string + ProjectURL func() string + ThumbnailURL func() string + type DisplayFieldsResponse struct + Data any + Error *SuiObjectResponseError + func (display DisplayFieldsResponse) Creator() string + func (display DisplayFieldsResponse) Description() string + func (display DisplayFieldsResponse) ImageURL() string + func (display DisplayFieldsResponse) Link() string + func (display DisplayFieldsResponse) Name() string + func (display DisplayFieldsResponse) ProjectURL() string + func (display DisplayFieldsResponse) ThumbnailURL() string + type DynamicFieldInfo struct + BcsName string + Digest string + Name DynamicFieldName + ObjectId string + ObjectType string + Type string + Version int + type DynamicFieldName struct + Type string + Value json.RawMessage + func (v DynamicFieldName) Field(field string) gjson.Result + type DynamicFieldObjectName struct + Type string + Value interface{} + type EndOfEpochInfo struct + EpochEndTimestamp string + LastCheckpointId string + LeftoverStorageFundInflow string + ProtocolVersion string + ReferenceGasPrice string + StakeSubsidyAmount string + StorageCharge string + StorageFundBalance string + StorageFundReinvestment string + StorageRebate string + TotalGasFees string + TotalStake string + TotalStakeRewardsDistributed string + type EpochInfo struct + EndOfEpochInfo EndOfEpochInfo + Epoch string + EpochStartTimestamp string + EpochTotalTransactions string + FirstCheckpointId string + Validators []SuiValidatorSummary + type EpochRollingGasCostSummary struct + ComputationCost string + NonRefundableStorageFee string + StorageCost string + StorageRebate string + type EventFilterByMoveEventField struct + MoveEventField MoveEventField + type EventFilterByMoveEventModule struct + MoveEventModule MoveEventModule + type EventFilterByMoveEventType struct + MoveEventType string + type EventFilterByMoveModule struct + MoveModule MoveModule + type EventFilterByPackage struct + Package string + type EventFilterBySenderAddress struct + SenderAddress string + type EventFilterBySuiAddress struct + Sender string + type EventFilterByTimeRange struct + TimeRange TimeRange + type EventFilterByTransaction struct + Transaction string + type EventId struct + EventSeq string + TxDigest string + type ExecutionMode string + const TransactionExecutionCommit + const TransactionExecutionDevInspect + type ExecutionStatus struct + Error string + Status string + type FaucetCoinInfo struct + Amount int + ID string + TransferTxDigest string + type FaucetFixedAmountRequest struct + Recipient string + type FaucetRequest struct + FixedAmountRequest *FaucetFixedAmountRequest + type GasCostSummary struct + ComputationCost string + NonRefundableStorageFee string + StorageCost string + StorageRebate string + type GetEventsResponse []*SuiEventResponse + type GetMoveFunctionArgTypesRequest struct + Function string + Module string + Package string + type GetMoveFunctionArgTypesResponse []interface + type GetNormalizedMoveFunctionRequest struct + FunctionName string + ModuleName string + Package string + type GetNormalizedMoveFunctionResponse sui_json_rpc_types.SuiMoveNormalizedFunction + type GetNormalizedMoveModuleRequest struct + ModuleName string + Package string + type GetNormalizedMoveModuleResponse sui_json_rpc_types.SuiMoveNormalizedModule + type GetNormalizedMoveModulesByPackageRequest struct + Package string + type GetNormalizedMoveModulesByPackageResponse map[string]sui_json_rpc_types.SuiMoveNormalizedModule + type GetNormalizedMoveStructRequest struct + ModuleName string + Package string + StructName string + type GetNormalizedMoveStructResponse sui_json_rpc_types.SuiMoveNormalizedStruct + type GetTransactionMetaData struct + GatewayTxSeqNumber uint64 + TransactionDigest string + type HexData struct + func NewHexData(str string) (*HexData, error) + func (a HexData) Data() []byte + type InputObjectKind map[string]interface + type JsonRPCRequest struct + ID interface{} + JsonRPC string + Method string + Params []interface{} + type MergeCoinsRequest struct + CoinToMerge string + Gas string + GasBudget string + PrimaryCoin string + Signer string + type ModifiedAtVersions struct + ObjectId string + SequenceNumber string + type MoveCallRequest struct + Arguments []interface{} + ExecutionMode ExecutionMode + Function string + Gas string + GasBudget string + Module string + PackageObjectId string + Signer string + TypeArguments []interface{} + type MoveCallResponse struct + Gas []sui_types.SuiObjectRef + InputObjects interface{} + TxBytes string + type MoveCallSuiTransaction struct + Arguments []interface{} + Function string + Module string + Package string + TypeArguments []string + type MoveEventField struct + Field string + Type string + Value string + type MoveEventModule struct + Event string + Module string + Package string + type MoveFunction struct + Function *string + Module *string + Package string + type MoveModule struct + Module string + Package string + type ObjectChange struct + Digest string + Modules []string + ObjectId string + ObjectType string + Owner ObjectOwner + PackageId string + PreviousVersion string + Sender string + Type string + Version string + type ObjectFilterByAddressOwner struct + AddressOwner string + type ObjectFilterByObjectId struct + ObjectId string + type ObjectFilterByObjectIds struct + ObjectIds []string + type ObjectFilterByObjectOwner struct + ObjectOwner string + type ObjectFilterByPackage struct + Package string + type ObjectFilterByStructType struct + StructType string + type ObjectFilterByVersion struct + Version string + type ObjectId = HexData + type ObjectOwner struct + AddressOwner string + ObjectOwner string + Shared ObjectShare + type ObjectRef struct + Digest string + ObjectId ObjectId + Version int64 + type ObjectShare struct + InitialSharedVersion int + type OwnedObjectRef struct + Owner interface{} + Reference SuiObjectRef + type PaginatedCheckpointsResponse struct + Data []CheckpointResponse + HasNextPage bool + NextCursor string + type PaginatedCoinsResponse struct + Data []CoinData + HasNextPage bool + NextCursor string + type PaginatedDynamicFieldInfoResponse struct + Data []DynamicFieldInfo + HasNextPage bool + NextCursor string + type PaginatedEpochInfoResponse struct + Data []EpochInfo + HasNextPage bool + NextCursor string + type PaginatedEventsResponse struct + Data []SuiEventResponse + HasNextPage bool + NextCursor EventId + type PaginatedObjectsResponse struct + Data []SuiObjectResponse + HasNextPage bool + NextCursor string + type PastObject struct + ObjectId string + Version string + type PastObjectResponse struct + Details interface{} + Status string + type PayAllSuiRequest struct + GasBudget string + Recipient string + Signer string + SuiObjectId []string + type PayRequest struct + Amount []string + Gas string + GasBudget string + Recipient []string + Signer string + SuiObjectId []string + type PaySuiRequest struct + Amount []string + GasBudget string + Recipient []string + Signer string + SuiObjectId []string + type ProgrammableTransaction struct + Inputs []SuiCallArg + Transactions []SuiTransaction + type ProtocolConfigResponse struct + Attributes map[string]map[string]string + FeatureFlags map[string]bool + MaxSupportedProtocolVersion string + MinSupportedProtocolVersion string + ProtocolVersion string + type PublishRequest struct + CompiledModules []string + Dependencies []string + Gas string + GasBudget string + Sender string + type RPCTransactionRequestParams struct + MoveCallRequestParams *MoveCallRequest + TransferObjectRequestParams *TransferObjectRequest + type SigFlag byte + const SigFlagEd25519 + const SigFlagSecp256k1 + type SigScheme string + const SigEd25519 + const SigSecp256k1 + type SignAndExecuteTransactionBlockRequest struct + Options SuiTransactionBlockOptions + PriKey ed25519.PrivateKey + RequestType string + TxnMetaData TxnMetaData + type SignedTransaction struct + PublicKey *Base64Data + SigScheme SigScheme + Signature *Base64Data + TxBytes string + type SignedTransactionSerializedSig struct + Signature string + TxBytes string + type SplitCoinEqualRequest struct + CoinObjectId string + Gas string + GasBudget string + Signer string + SplitCount string + type SplitCoinRequest struct + CoinObjectId string + Gas string + GasBudget string + Signer string + SplitAmounts []string + type SuiAddress string + type SuiArgument map[string]interface + type SuiCallArg map[string]interface + type SuiDevInspectTransactionBlockRequest struct + Epoch string + GasPrice string + Sender string + TxBytes string + type SuiDryRunTransactionBlockRequest struct + TxBytes string + type SuiEffects struct + Created []OwnedObjectRef + Deleted []SuiObjectRef + Dependencies []string + EventsDigest string + ExecutedEpoch string + GasObject OwnedObjectRef + GasUsed GasCostSummary + MessageVersion string + ModifiedAtVersions []ModifiedAtVersions + Mutated []OwnedObjectRef + SharedObjects []SuiObjectRef + Status ExecutionStatus + TransactionDigest string + type SuiEventFilter map[string]interface + type SuiEventResponse struct + Bcs string + Id EventId + PackageId string + ParsedJson map[string]interface{} + Sender string + TimestampMs string + TransactionModule string + Type string + type SuiExecuteTransactionBlockRequest struct + Options SuiTransactionBlockOptions + RequestType string + Signature []string + TxBytes string + type SuiGasData struct + Budget string + Owner string + Payment []SuiObjectRef + Price string + type SuiGetCheckpointRequest struct + CheckpointID string + type SuiGetCheckpointsRequest struct + Cursor interface{} + DescendingOrder bool + Limit uint64 + type SuiGetEventsRequest struct + Digest string + type SuiGetLoadedChildObjectsRequest struct + Digest string + type SuiGetObjectRequest struct + ObjectId string + Options SuiObjectDataOptions + type SuiGetProtocolConfigRequest struct + Version string + type SuiGetTransactionBlockRequest struct + Digest string + Options SuiTransactionBlockOptions + type SuiKeyPair struct + Address string + Flag byte + PrivateKey []byte + PublicKey []byte + PublicKeyBase64 string + type SuiLoadedChildObject struct + ObjectID string + SequenceNumber string + type SuiMoveModuleId struct + Address string + Name string + type SuiMoveNormalizedModule struct + Address string + FileFormatVersion uint64 + Friends []SuiMoveModuleId + Name string + type SuiMoveObject struct + Fields map[string]interface{} + HasPublicTransfer bool + Type string + type SuiMovePackage struct + Disassembled string + type SuiMultiGetObjectsRequest struct + ObjectIds []string + Options SuiObjectDataOptions + type SuiMultiGetTransactionBlocksRequest struct + Digests []string + Options SuiTransactionBlockOptions + type SuiMultiGetTransactionBlocksResponse []*SuiTransactionBlockResponse + type SuiObjectChangeCreated struct + Digest string + ObjectId string + ObjectType string + Owner ObjectOwner + Sender string + Type string + Version int + type SuiObjectChangeDeleted struct + ObjectId string + ObjectType string + Sender string + Type string + Version int + type SuiObjectChangeMutated struct + Digest string + ObjectId string + ObjectType string + Owner ObjectOwner + PreviousVersion int + Sender string + Type string + Version int + type SuiObjectChangePublished struct + Digest string + Modules []string + PackageId string + Type string + Version int + type SuiObjectChangeTransferred struct + Digest string + ObjectId string + ObjectType string + Recipient ObjectOwner + Sender string + Type string + Version int + type SuiObjectChangeWrapped struct + ObjectId string + ObjectType string + Sender string + Type string + Version int + type SuiObjectData struct + Bcs *SuiRawData + Content *SuiParsedData + Digest string + Display DisplayFieldsResponse + ObjectId string + Owner interface{} + PreviousTransaction string + Type string + Version string + type SuiObjectDataFilter map[string]interface + type SuiObjectDataOptions struct + ShowBcs bool + ShowContent bool + ShowDisplay bool + ShowOwner bool + ShowPreviousTransaction bool + ShowStorageRebate bool + ShowType bool + type SuiObjectInfo struct + PreviousTransaction string + Type string + type SuiObjectRef struct + Digest string + ObjectId string + Version int + type SuiObjectResponse struct + Data *SuiObjectData + Error *SuiObjectResponseError + type SuiObjectResponseError struct + Code string + Digest string + Error string + ObjectId string + Version int + type SuiObjectResponseQuery struct + Filter interface{} + Options SuiObjectDataOptions + type SuiParsedData struct + DataType string + type SuiRawData struct + DataType string + type SuiRawMoveObject struct + BcsBytes string + HasPublicTransfer bool + Type string + Version int + type SuiRawMovePackage struct + Id string + ModuleMap string + type SuiSystemStateSummary struct + ActiveValidators []SuiValidatorSummary + AtRiskValidators []string + Epoch string + EpochDurationMs string + EpochStartTimestampMs string + InactivePoolsId string + InactivePoolsSize string + MaxValidatorCount string + MinValidatorJoiningStake string + PendingActiveValidatorsId string + PendingActiveValidatorsSize string + PendingRemovals []string + ProtocolVersion string + ReferenceGasPrice string + SafeMode bool + SafeModeComputationRewards string + SafeModeNonRefundableStorageFee string + SafeModeStorageRebates string + SafeModeStorageRewards string + StakeSubsidyBalance string + StakeSubsidyCurrentDistributionAmount string + StakeSubsidyDecreaseRate int + StakeSubsidyDistributionCounter string + StakeSubsidyPeriodLength string + StakeSubsidyStartEpoch string + StakingPoolMappingsId string + StakingPoolMappingsSize string + StorageFundNonRefundableBalance string + StorageFundTotalObjectStorageRebates string + SystemStateVersion string + TotalStake string + ValidatorCandidatesId string + ValidatorCandidatesSize string + ValidatorLowStakeGracePeriod string + ValidatorLowStakeThreshold string + ValidatorReportRecords [][]interface{} + ValidatorVeryLowStakeThreshold string + type SuiTransaction struct + MakeMoveVec []interface{} + MergeCoins []interface{} + MoveCall *MoveCallSuiTransaction + Publish []interface{} + SplitCoins []interface{} + TransferObjects []interface{} + Upgrade []interface{} + type SuiTransactionBlock struct + Data SuiTransactionBlockData + TxSignatures []string + type SuiTransactionBlockData struct + GasData SuiGasData + MessageVersion string + Sender string + Transaction SuiTransactionBlockKind + type SuiTransactionBlockKind struct + Inputs []SuiCallArg + Kind string + Transactions []SuiTransaction + type SuiTransactionBlockOptions struct + ShowBalanceChanges bool + ShowEffects bool + ShowEvents bool + ShowInput bool + ShowObjectChanges bool + ShowRawInput bool + type SuiTransactionBlockResponse struct + BalanceChanges []BalanceChanges + Checkpoint string + ConfirmedLocalExecution bool + Digest string + Effects SuiEffects + Events []SuiEventResponse + ObjectChanges []ObjectChange + RawTransaction string + TimestampMs string + Transaction SuiTransactionBlock + type SuiTransactionBlockResponseQuery struct + Options SuiTransactionBlockOptions + TransactionFilter TransactionFilter + type SuiTryGetPastObjectRequest struct + ObjectId string + Options SuiObjectDataOptions + Version uint64 + type SuiTryMultiGetPastObjectsRequest struct + MultiGetPastObjects []*PastObject + Options SuiObjectDataOptions + type SuiValidatorSummary struct + CommissionRate string + Description string + ExchangeRatesId string + ExchangeRatesSize string + GasPrice string + ImageUrl string + Name string + NetAddress string + NetworkPubkeyBytes string + NextEpochCommissionRate string + NextEpochGasPrice string + NextEpochNetAddress string + NextEpochNetworkPubkeyBytes string + NextEpochP2pAddress string + NextEpochPrimaryAddress string + NextEpochProofOfPossession string + NextEpochProtocolPubkeyBytes string + NextEpochStake string + NextEpochWorkerAddress string + NextEpochWorkerPubkeyBytes string + OperationCapId string + P2pAddress string + PendingPoolTokenWithdraw string + PendingStake string + PendingTotalSuiWithdraw string + PoolTokenBalance string + PrimaryAddress string + ProjectUrl string + ProofOfPossessionBytes string + ProtocolPubkeyBytes string + RewardsPool string + StakingPoolActivationEpoch string + StakingPoolDeactivationEpoch string + StakingPoolId string + StakingPoolSuiBalance string + SuiAddress SuiAddress + VotingPower string + WorkerAddress string + WorkerPubkeyBytes string + type SuiXGetAllBalanceRequest struct + Owner string + type SuiXGetAllCoinsRequest struct + Cursor interface{} + Limit uint64 + Owner string + type SuiXGetBalanceRequest struct + CoinType string + Owner string + type SuiXGetCoinMetadataRequest struct + CoinType string + type SuiXGetCoinsRequest struct + CoinType string + Cursor interface{} + Limit uint64 + Owner string + type SuiXGetCommitteeInfoRequest struct + Epoch string + type SuiXGetCommitteeInfoResponse struct + Epoch string + Validators [][]string + type SuiXGetDynamicFieldObjectRequest struct + DynamicFieldName DynamicFieldObjectName + ObjectId string + type SuiXGetDynamicFieldRequest struct + Cursor interface{} + Limit uint64 + ObjectId string + type SuiXGetEpochsRequest struct + Cursor interface{} + DescendingOrder bool + Limit uint64 + type SuiXGetOwnedObjectsRequest struct + Address string + Cursor interface{} + Limit uint64 + Query SuiObjectResponseQuery + type SuiXGetStakesByIdsRequest struct + StakedSuiIds []string + type SuiXGetStakesRequest struct + Owner string + type SuiXGetTotalSupplyRequest struct + CoinType string + type SuiXQueryEventsRequest struct + Cursor interface{} + DescendingOrder bool + Limit uint64 + SuiEventFilter interface{} + type SuiXQueryTransactionBlocksRequest struct + Cursor interface{} + DescendingOrder bool + Limit uint64 + SuiTransactionBlockResponseQuery SuiTransactionBlockResponseQuery + type SuiXQueryTransactionBlocksResponse struct + Data []SuiTransactionBlockResponse + HasNextPage bool + NextCursor string + type SuiXResolveNameServiceAddressRequest struct + Name string + type SuiXResolveNameServiceNamesRequest struct + Address string + Cursor interface{} + Limit uint64 + type SuiXResolveNameServiceNamesResponse struct + Data []string + HasNextPage bool + NextCursor string + type SuiXSubscribeEventsRequest struct + SuiEventFilter interface{} + type SuiXSubscribeTransactionsRequest struct + TransactionFilter interface{} + type TimeRange struct + EndTime uint64 + StartTime uint64 + type TotalSupplyResponse struct + Value string + type TransactionDigest string + type TransactionFilter map[string]interface + type TransactionFilterByChangedObjectFilter struct + ChangedObject string + type TransactionFilterByFromAddress struct + FromAddress string + type TransactionFilterByInputObject struct + InputObject string + type TransactionFilterByMoveFunction struct + MoveFunction MoveFunction + type TransactionFilterByToAddress struct + ToAddress string + type TransferObjectRequest struct + Gas string + GasBudget string + ObjectId string + Recipient string + Signer string + type TransferSuiRequest struct + Amount string + GasBudget string + Recipient string + Signer string + SuiObjectId string + type TxnMetaData struct + Gas []sui_types.SuiObjectRef + InputObjects []interface{} + TxBytes string + func (txn *TxnMetaData) SignSerializedSigWith(privateKey ed25519.PrivateKey) *SignedTransactionSerializedSig + type ValidatorsApy struct + Apys []Apy + Epoch string + type WithdrawStakeRequest struct + Gas string + GasBudget string + Signer string + StakedObjectId string