Documentation
¶
Index ¶
- type Balance
- type BalanceChange
- type Checkpoint
- type CheckpointCommitment
- type CheckpointId
- type CheckpointPage
- type Claim
- type CoinMetadata
- type CoinStruct
- type CoinSupply
- type CommitteeInfo
- type CompressedSignature
- type CompressedSignatureEd25519
- type CompressedSignatureSecp256k1
- type CompressedSignatureSecp256r1
- type CompressedSignatureWrapper
- type ConsensusDeterminedVersionAssignments
- type DelegatedStake
- type DevInspectResults
- type DevInspectTransactionBlockParams
- type DisplayFieldsResponse
- type DryRunTransactionBlockParams
- type DryRunTransactionBlockResponse
- type DynamicFieldInfo
- type DynamicFieldName
- type DynamicFieldPage
- type DynamicFieldType
- type ECMHLiveObjectSetDigest
- type EndOfEpochData
- type EndOfEpochInfo
- type EpochInfo
- type EpochPage
- type EventId
- type ExecuteTransactionBlockParams
- type ExecuteTransactionRequestType
- type ExecutionStatus
- type GasCostSummary
- type GetAllBalancesParams
- type GetAllCoinsParams
- type GetBalanceParams
- type GetCheckpointParams
- type GetCheckpointsParams
- type GetCoinMetadataParams
- type GetCoinsParams
- type GetCommitteeInfoParams
- type GetDynamicFieldObjectParams
- type GetDynamicFieldsParams
- type GetMoveFunctionArgTypesParams
- type GetNormalizedMoveFunctionParams
- type GetNormalizedMoveModuleParams
- type GetNormalizedMoveModulesByPackageParams
- type GetNormalizedMoveStructParams
- type GetObjectParams
- type GetOwnedObjectsParams
- type GetPastObjectRequest
- type GetProtocolConfigParams
- type GetStakesByIdsParams
- type GetStakesParams
- type GetTotalSupplyParams
- type GetTransactionBlockParams
- type InputObjectKind
- type InputObjectKindImmOrOwnedMoveObject
- type InputObjectKindMovePackage
- type InputObjectKindSharedMoveObject
- type InputObjectKindWrapper
- type KindSharedMoveObject
- type LoadedChildObject
- type LoadedChildObjectsResponse
- type MoveBooleanValue
- type MoveCallParams
- type MoveCallSuiTransaction
- type MoveIdValue
- type MoveNumberValue
- type MoveStringValue
- type MoveStruct
- type MoveStructValue
- type MoveStructWrapper
- type MoveStruct_FieldsType
- type MoveStruct_Map
- type MoveStruct_MoveValue
- type MoveValue
- type MoveValueWrapper
- type MoveValue_MoveValues
- type MultiGetObjectsParams
- type MultiGetTransactionBlocksParams
- type ObjectOwner
- type ObjectOwnerWrapper
- type ObjectOwner_AddressOwner
- type ObjectOwner_Immutable
- type ObjectOwner_ObjectOwner
- type ObjectOwner_Shared
- type ObjectOwner_SharedData
- type ObjectRead
- type ObjectReadObjectDeleted
- type ObjectReadObjectNotExists
- type ObjectReadVersionFound
- type ObjectReadVersionNotFound
- type ObjectReadVersionTooHigh
- type ObjectReadWrapper
- type ObjectResponseDeletedError
- type ObjectResponseDisplayErrorError
- type ObjectResponseDynamicFieldNotFoundError
- type ObjectResponseError
- type ObjectResponseErrorWrapper
- type ObjectResponseNotExistsError
- type ObjectResponseUnknownError
- type ObjectValueKind
- type OwnedObjectRef
- type PaginatedCheckpoints
- type PaginatedCoins
- type PaginatedDynamicFieldInfos
- type PaginatedEvents
- type PaginatedObjectsResponse
- type PaginatedStrings
- type PaginatedTransactionResponse
- type ProgrammableTransaction
- type ProtocolConfig
- type ProtocolConfigValue
- type ProtocolConfigValue_f64
- type ProtocolConfigValue_u32
- type ProtocolConfigValue_u64
- type QueryEventsParams
- type QueryTransactionBlocksParams
- type QueryTransactionBlocksParams_Order
- type RawData
- type RawDataMoveObject
- type RawDataPackage
- type RawDataWrapper
- type ResolveNameServiceAddressParams
- type ResolveNameServiceNamesParams
- type ResolvedNameServiceNames
- type SignAndExecuteTransactionBlockParams
- type Signature
- type SignatureEd25519
- type SignatureSecp256k1
- type SignatureSecp256r1
- type SignatureWrapper
- type StakeObject
- type StakeObjectActive
- type StakeObjectPending
- type StakeObjectUnstaked
- type StakeObjectWrapper
- type SubscribeEventParams
- type SubscribeTransactionParams
- type SuiActiveJwk
- type SuiArgument
- type SuiArgumentGasCoin
- type SuiArgumentInput
- type SuiArgumentNestedResult
- type SuiArgumentResult
- type SuiArgumentWrapper
- type SuiAuthenticatorStateExpire
- type SuiCallArg
- type SuiCallArgImmOrOwnedObject
- type SuiCallArgPure
- type SuiCallArgReceiving
- type SuiCallArgSharedObject
- type SuiCallArgWrapper
- type SuiChangeEpoch
- type SuiEndOfEpochTransactionKind
- type SuiEndOfEpochTransactionKindAuthenticatorStateCreate
- type SuiEndOfEpochTransactionKindAuthenticatorStateExpire
- type SuiEndOfEpochTransactionKindChangeEpoch
- type SuiEndOfEpochTransactionKindWrapper
- type SuiEvent
- type SuiEventFilter
- type SuiEventFilter_MoveEventField
- type SuiEventFilter_MoveEventModule
- type SuiEventFilter_MoveModule
- type SuiEventFilter_TimeRange
- type SuiEventFilters
- type SuiExecutionResult
- type SuiGasData
- type SuiJWK
- type SuiJwkID
- type SuiMoveAbility
- type SuiMoveAbilitySet
- type SuiMoveFunctionArgObjectType
- type SuiMoveFunctionArgStringType
- type SuiMoveFunctionArgType
- type SuiMoveFunctionArgTypeWrapper
- type SuiMoveModuleId
- type SuiMoveNormalizedField
- type SuiMoveNormalizedFunction
- type SuiMoveNormalizedModule
- type SuiMoveNormalizedModules
- type SuiMoveNormalizedStruct
- type SuiMoveNormalizedType
- type SuiMoveNormalizedTypeStruct
- type SuiMoveNormalizedTypeWrapper
- type SuiMoveNormalizedType_MutableReference
- type SuiMoveNormalizedType_Reference
- type SuiMoveNormalizedType_String
- type SuiMoveNormalizedType_Struct
- type SuiMoveNormalizedType_TypeParameter
- type SuiMoveNormalizedType_Vector
- type SuiMoveStructTypeParameter
- type SuiMoveVisibility
- type SuiObjectChange
- type SuiObjectChangeCreated
- type SuiObjectChangeDeleted
- type SuiObjectChangeMutated
- type SuiObjectChangePublished
- type SuiObjectChangeTransferred
- type SuiObjectChangeWrapped
- type SuiObjectChangeWrapper
- type SuiObjectData
- type SuiObjectDataFilter
- type SuiObjectDataFilter_AddressOwner
- type SuiObjectDataFilter_MatchAll
- type SuiObjectDataFilter_MatchAny
- type SuiObjectDataFilter_MatchNone
- type SuiObjectDataFilter_MoveModule
- type SuiObjectDataFilter_MoveModule_Struct
- type SuiObjectDataFilter_ObjectId
- type SuiObjectDataFilter_ObjectIds
- type SuiObjectDataFilter_ObjectOwner
- type SuiObjectDataFilter_Package
- type SuiObjectDataFilter_StructType
- type SuiObjectDataFilter_Version
- type SuiObjectDataOptions
- type SuiObjectRef
- type SuiObjectResponse
- type SuiObjectResponseQuery
- type SuiParsedData
- type SuiParsedDataWrapper
- type SuiParsedMoveObjectData
- type SuiParsedPackageData
- type SuiSystemStateSummary
- type SuiTransaction
- type SuiTransactionArgument
- type SuiTransactionArgumentArray
- type SuiTransactionArgumentOne
- type SuiTransactionArgumentString
- type SuiTransactionArgumentStringArray
- type SuiTransactionArgumentWrapper
- type SuiTransactionBlock
- type SuiTransactionBlockBuilderMode
- type SuiTransactionBlockKind
- type SuiTransactionBlockKindAuthenticatorStateUpdate
- type SuiTransactionBlockKindChangeEpoch
- type SuiTransactionBlockKindConsensusCommitPrologue
- type SuiTransactionBlockKindConsensusCommitPrologueV3
- type SuiTransactionBlockKindEndOfEpochTransaction
- type SuiTransactionBlockKindGenesis
- type SuiTransactionBlockKindProgrammableTransaction
- type SuiTransactionBlockKindWrapper
- type SuiTransactionBlockResponse
- type SuiTransactionBlockResponseOptions
- type SuiTransactionBlockResponseQuery
- type SuiTransactionMakeMoveVec
- type SuiTransactionMergeCoins
- type SuiTransactionMoveCall
- type SuiTransactionPublish
- type SuiTransactionSplitCoins
- type SuiTransactionTransferObjects
- type SuiTransactionUpgrade
- type SuiTransactionWrapper
- type SuiValidatorSummary
- type TransactionBlockBytes
- type TransactionBlockData
- type TransactionBlockEffectsModifiedAtVersions
- type TransactionEffects
- type TransactionFilter
- type TransactionFilter_FromAndToAddress
- type TransactionFilter_FromOrToAddress
- type TransactionFilter_MoveFunction
- type TransferObjectParams
- type TryGetPastObjectParams
- type TypeOrigin
- type UpgradeInfo
- type ValidatorApy
- type ValidatorsApy
- type VersionTooHighDetails
- type ZkLoginAuthenticator
- type ZkLoginInputs
- type ZkLoginProof
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceChange ¶
type BalanceChange struct {
Owner ObjectOwnerWrapper `json:"owner"`
CoinType string `json:"coinType"`
Amount string `json:"amount"`
}
type Checkpoint ¶
type Checkpoint struct {
Epoch string `json:"epoch"`
SequenceNumber string `json:"sequenceNumber"`
Digest string `json:"digest"`
NetworkTotalTransactions string `json:"networkTotalTransactions"`
PreviousDigest string `json:"previousDigest,omitempty"`
EpochRollingGasCostSummary GasCostSummary `json:"epochRollingGasCostSummary"`
TimestampMs string `json:"timestampMs"`
EndOfEpochData *EndOfEpochData `json:"endOfEpochData,omitempty"`
Transactions []string `json:"transactions"`
CheckpointCommitments []CheckpointCommitment `json:"checkpointCommitments"`
ValidatorSignature string `json:"validatorSignature"`
}
type CheckpointCommitment ¶
type CheckpointCommitment struct {
ECMHLiveObjectSetDigest ECMHLiveObjectSetDigest `json:"ecmhLiveObjectSetDigest"`
}
type CheckpointId ¶
type CheckpointId string
type CheckpointPage ¶
type CheckpointPage struct {
Data []Checkpoint `json:"data"`
NextCursor *string `json:"nextCursor,omitempty"`
HasNextPage bool `json:"hasNextPage"`
}
type CoinMetadata ¶
type CoinStruct ¶
type CoinSupply ¶
type CoinSupply struct {
Value string `json:"value"`
}
type CommitteeInfo ¶
type CompressedSignature ¶ added in v0.0.25
type CompressedSignature interface {
// contains filtered or unexported methods
}
--------------CompressedSignature--------------
type CompressedSignatureEd25519 ¶ added in v0.0.25
type CompressedSignatureEd25519 struct {
Ed25519 string `json:"Ed25519"`
}
type CompressedSignatureSecp256k1 ¶ added in v0.0.25
type CompressedSignatureSecp256k1 struct {
Secp256k1 string `json:"Secp256k1"`
}
type CompressedSignatureSecp256r1 ¶ added in v0.0.25
type CompressedSignatureSecp256r1 struct {
Secp256r1 string `json:"Secp256r1"`
}
type CompressedSignatureWrapper ¶ added in v0.0.25
type CompressedSignatureWrapper struct {
CompressedSignature
}
func (*CompressedSignatureWrapper) MarshalJSON ¶ added in v0.0.25
func (w *CompressedSignatureWrapper) MarshalJSON() ([]byte, error)
func (*CompressedSignatureWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *CompressedSignatureWrapper) UnmarshalJSON(data []byte) error
type ConsensusDeterminedVersionAssignments ¶ added in v0.0.25
type ConsensusDeterminedVersionAssignments struct {
CancelledTransactions []interface{} `json:"CancelledTransactions"`
}
type DelegatedStake ¶
type DelegatedStake struct {
ValidatorAddress string `json:"validatorAddress"`
StakingPool string `json:"stakingPool"`
Stakes []StakeObjectWrapper `json:"stakes"`
}
type DevInspectResults ¶
type DevInspectResults struct {
Effects TransactionEffects `json:"effects"`
Error string `json:"error,omitempty"`
Events []SuiEvent `json:"events"`
Results []SuiExecutionResult `json:"results,omitempty"`
}
type DisplayFieldsResponse ¶
type DisplayFieldsResponse struct {
Data map[string]*string `json:"data"`
Error *ObjectResponseErrorWrapper `json:"error"`
}
type DryRunTransactionBlockParams ¶
type DryRunTransactionBlockParams struct {
TransactionBlock []byte `json:"transactionBlock"`
}
type DryRunTransactionBlockResponse ¶
type DryRunTransactionBlockResponse struct {
Effects TransactionEffects `json:"effects"`
Events []SuiEvent `json:"events"`
ObjectChanges []SuiObjectChangeWrapper `json:"objectChanges"`
BalanceChanges []BalanceChange `json:"balanceChanges"`
Input TransactionBlockData `json:"input"`
}
type DynamicFieldInfo ¶
type DynamicFieldInfo struct {
Name DynamicFieldName `json:"name"`
BcsName string `json:"bcsName"`
Type DynamicFieldType `json:"type"`
ObjectType string `json:"objectType"`
ObjectId string `json:"objectId"`
Version int64 `json:"version"`
Digest string `json:"digest"`
}
type DynamicFieldName ¶
type DynamicFieldName struct {
Type string `json:"type"`
Value interface{} `json:"value"`
}
type DynamicFieldPage ¶
type DynamicFieldPage struct {
Data []DynamicFieldInfo `json:"data"`
NextCursor *string `json:"nextCursor,omitempty"`
HasNextPage bool `json:"hasNextPage"`
}
type DynamicFieldType ¶
type DynamicFieldType string
var ( DynamicField DynamicFieldType = "DynamicField" DynamicObject DynamicFieldType = "DynamicObject" )
type ECMHLiveObjectSetDigest ¶
type ECMHLiveObjectSetDigest struct {
Digest []int `json:"digest"` // TODO: bytes?
}
type EndOfEpochData ¶
type EndOfEpochData struct {
EpochCommitments []CheckpointCommitment `json:"epochCommitments"`
NextEpochCommittee [][2]string `json:"nextEpochCommittee"`
NextEpochProtocolVersion string `json:"nextEpochProtocolVersion"`
}
type EndOfEpochInfo ¶ added in v0.0.25
type EndOfEpochInfo struct {
LastCheckpointId string `json:"lastCheckpointId"`
EpochEndTimestamp string `json:"epochEndTimestamp"`
ProtocolVersion string `json:"protocolVersion"`
ReferenceGasPrice string `json:"referenceGasPrice"`
TotalStake string `json:"totalStake"`
StorageFundReinvestment string `json:"storageFundReinvestment"`
StorageCharge string `json:"storageCharge"`
StorageRebate string `json:"storageRebate"`
StorageFundBalance string `json:"storageFundBalance"`
StakeSubsidyAmount string `json:"stakeSubsidyAmount"`
TotalGasFees string `json:"totalGasFees"`
TotalStakeRewardsDistributed string `json:"totalStakeRewardsDistributed"`
LeftoverStorageFundInflow string `json:"leftoverStorageFundInflow"`
}
type EpochInfo ¶ added in v0.0.25
type EpochInfo struct {
Epoch string `json:"epoch"`
Validators []SuiValidatorSummary `json:"validators"`
EpochTotalTransactions string `json:"epochTotalTransactions"`
FirstCheckpointId string `json:"firstCheckpointId"`
EpochStartTimestamp string `json:"epochStartTimestamp"`
EndOfEpochInfo *EndOfEpochInfo `json:"endOfEpochInfo"`
ReferenceGasPrice *uint64 `json:"referenceGasPrice"`
}
type ExecuteTransactionBlockParams ¶
type ExecuteTransactionBlockParams struct {
TransactionBlock []byte `json:"transactionBlock"`
Signature []string `json:"signature"`
Options *SuiTransactionBlockResponseOptions `json:"options,omitempty"`
RequestType *ExecuteTransactionRequestType `json:"requestType,omitempty"`
}
type ExecuteTransactionRequestType ¶
type ExecuteTransactionRequestType string
var ( WaitForEffectsCert ExecuteTransactionRequestType = "WaitForEffectsCert" WaitForLocalExecution ExecuteTransactionRequestType = "WaitForLocalExecution" )
type ExecutionStatus ¶
type GasCostSummary ¶
type GetAllBalancesParams ¶
type GetAllBalancesParams struct {
Owner string `json:"owner"`
}
type GetAllCoinsParams ¶
type GetBalanceParams ¶
type GetCheckpointParams ¶
type GetCheckpointParams struct {
ID CheckpointId `json:"id"`
}
type GetCheckpointsParams ¶
type GetCoinMetadataParams ¶
type GetCoinMetadataParams struct {
CoinType string `json:"coinType"`
}
type GetCoinsParams ¶
type GetCommitteeInfoParams ¶
type GetCommitteeInfoParams struct {
Epoch *string `json:"epoch,omitempty"`
}
type GetDynamicFieldObjectParams ¶
type GetDynamicFieldObjectParams struct {
ParentId string `json:"parentId"`
Name DynamicFieldName `json:"name"`
}
type GetDynamicFieldsParams ¶
type GetNormalizedMoveModulesByPackageParams ¶
type GetNormalizedMoveModulesByPackageParams struct {
Package string `json:"package"`
}
type GetObjectParams ¶
type GetObjectParams struct {
ID string `json:"id"`
Options *SuiObjectDataOptions `json:"options,omitempty"`
}
type GetOwnedObjectsParams ¶
type GetOwnedObjectsParams struct {
Owner string `json:"owner"`
Cursor *string `json:"cursor,omitempty"`
Limit *int `json:"limit,omitempty"`
SuiObjectResponseQuery SuiObjectResponseQuery `json:",inline"`
}
type GetPastObjectRequest ¶ added in v0.0.25
type GetProtocolConfigParams ¶
type GetProtocolConfigParams struct {
Version *string `json:"version,omitempty"`
}
type GetStakesByIdsParams ¶
type GetStakesByIdsParams struct {
StakedSuiIds []string `json:"stakedSuiIds"`
}
type GetStakesParams ¶
type GetStakesParams struct {
Owner string `json:"owner"`
}
type GetTotalSupplyParams ¶
type GetTotalSupplyParams struct {
CoinType string `json:"coinType"`
}
type GetTransactionBlockParams ¶
type GetTransactionBlockParams struct {
Digest string `json:"digest"`
Options *SuiTransactionBlockResponseOptions `json:"options,omitempty"`
}
type InputObjectKind ¶ added in v0.0.25
type InputObjectKind interface {
// contains filtered or unexported methods
}
type InputObjectKindImmOrOwnedMoveObject ¶ added in v0.0.25
type InputObjectKindImmOrOwnedMoveObject struct {
ImmOrOwnedMoveObject SuiObjectRef `json:"ImmOrOwnedMoveObject"`
}
type InputObjectKindMovePackage ¶ added in v0.0.25
type InputObjectKindMovePackage struct {
MovePackage string `json:"MovePackage"`
}
type InputObjectKindSharedMoveObject ¶ added in v0.0.25
type InputObjectKindSharedMoveObject struct {
}
type InputObjectKindWrapper ¶ added in v0.0.25
type InputObjectKindWrapper struct {
InputObjectKind
}
func (*InputObjectKindWrapper) MarshalJSON ¶ added in v0.0.25
func (w *InputObjectKindWrapper) MarshalJSON() ([]byte, error)
func (*InputObjectKindWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *InputObjectKindWrapper) UnmarshalJSON(data []byte) error
type KindSharedMoveObject ¶ added in v0.0.25
type KindSharedMoveObject struct {
}
type LoadedChildObject ¶ added in v0.0.25
type LoadedChildObjectsResponse ¶ added in v0.0.25
type LoadedChildObjectsResponse struct {
LoadedChildObjects []LoadedChildObject `json:"loadedChildObjects"`
}
type MoveBooleanValue ¶ added in v0.0.25
type MoveBooleanValue bool
type MoveCallParams ¶ added in v0.0.25
type MoveCallSuiTransaction ¶ added in v0.0.25
type MoveCallSuiTransaction struct {
Package string `json:"package"`
Module string `json:"module"`
Function string `json:"function"`
TypeArguments []*string `json:"type_arguments,omitempty"`
Arguments []SuiArgumentWrapper `json:"arguments"`
}
type MoveIdValue ¶ added in v0.0.25
type MoveIdValue struct {
Id string `json:"id"`
}
type MoveNumberValue ¶ added in v0.0.25
type MoveNumberValue uint64
type MoveStringValue ¶ added in v0.0.25
type MoveStringValue string
type MoveStruct ¶ added in v0.0.25
type MoveStruct interface {
// contains filtered or unexported methods
}
type MoveStructValue ¶ added in v0.0.25
type MoveStructValue MoveStruct
type MoveStructWrapper ¶ added in v0.0.25
type MoveStructWrapper struct {
MoveStruct
}
func (MoveStructWrapper) MarshalJSON ¶ added in v0.0.25
func (w MoveStructWrapper) MarshalJSON() ([]byte, error)
func (*MoveStructWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *MoveStructWrapper) UnmarshalJSON(data []byte) error
type MoveStruct_FieldsType ¶ added in v0.0.25
type MoveStruct_FieldsType struct {
Type string `json:"type"`
Fields map[string]MoveValueWrapper `json:"fields"`
}
type MoveStruct_Map ¶ added in v0.0.25
type MoveStruct_Map map[string]MoveValueWrapper
type MoveStruct_MoveValue ¶ added in v0.0.25
type MoveStruct_MoveValue []MoveValueWrapper
type MoveValue ¶ added in v0.0.25
type MoveValue interface {
// contains filtered or unexported methods
}
---------- Move Value -----------
type MoveValueWrapper ¶ added in v0.0.25
type MoveValueWrapper struct {
MoveValue
}
func (MoveValueWrapper) MarshalJSON ¶ added in v0.0.25
func (w MoveValueWrapper) MarshalJSON() ([]byte, error)
func (*MoveValueWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *MoveValueWrapper) UnmarshalJSON(data []byte) error
type MoveValue_MoveValues ¶ added in v0.0.25
type MoveValue_MoveValues []MoveValueWrapper
type MultiGetObjectsParams ¶
type MultiGetObjectsParams struct {
IDs []string `json:"ids"`
Options *SuiObjectDataOptions `json:"options,omitempty"`
}
type MultiGetTransactionBlocksParams ¶
type MultiGetTransactionBlocksParams struct {
Digests []string `json:"digests"`
Options *SuiTransactionBlockResponseOptions `json:"options,omitempty"`
}
type ObjectOwner ¶
type ObjectOwner interface {
// contains filtered or unexported methods
}
type ObjectOwnerWrapper ¶
type ObjectOwnerWrapper struct {
ObjectOwner
}
func (ObjectOwnerWrapper) MarshalJSON ¶ added in v0.0.25
func (w ObjectOwnerWrapper) MarshalJSON() ([]byte, error)
func (*ObjectOwnerWrapper) UnmarshalJSON ¶
func (w *ObjectOwnerWrapper) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller for ObjectOwnerWrapper
type ObjectOwner_AddressOwner ¶
type ObjectOwner_AddressOwner struct {
AddressOwner string `json:"AddressOwner"`
}
type ObjectOwner_Immutable ¶ added in v0.0.25
type ObjectOwner_Immutable string
type ObjectOwner_ObjectOwner ¶
type ObjectOwner_ObjectOwner struct {
ObjectOwner string `json:"ObjectOwner"`
}
type ObjectOwner_Shared ¶
type ObjectOwner_Shared struct {
}
type ObjectOwner_SharedData ¶
type ObjectOwner_SharedData struct {
}
type ObjectRead ¶
type ObjectRead interface {
// contains filtered or unexported methods
}
type ObjectReadObjectDeleted ¶ added in v0.0.25
type ObjectReadObjectDeleted struct {
Details SuiObjectRef `json:"detail"`
Status string `json:"status"`
}
type ObjectReadObjectNotExists ¶ added in v0.0.25
type ObjectReadVersionFound ¶ added in v0.0.25
type ObjectReadVersionFound struct {
Details SuiObjectData `json:"detail"`
Status string `json:"status"`
}
type ObjectReadVersionNotFound ¶ added in v0.0.25
type ObjectReadVersionTooHigh ¶ added in v0.0.25
type ObjectReadVersionTooHigh struct {
Details VersionTooHighDetails `json:"detail"`
Status string `json:"status"`
}
type ObjectReadWrapper ¶ added in v0.0.25
type ObjectReadWrapper struct {
ObjectRead
}
func (ObjectReadWrapper) MarshalJSON ¶ added in v0.0.25
func (w ObjectReadWrapper) MarshalJSON() ([]byte, error)
func (*ObjectReadWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *ObjectReadWrapper) UnmarshalJSON(data []byte) error
type ObjectResponseDeletedError ¶ added in v0.0.25
type ObjectResponseDisplayErrorError ¶ added in v0.0.25
type ObjectResponseDynamicFieldNotFoundError ¶ added in v0.0.25
type ObjectResponseError ¶
type ObjectResponseError interface {
// contains filtered or unexported methods
}
type ObjectResponseErrorWrapper ¶ added in v0.0.25
type ObjectResponseErrorWrapper struct {
ObjectResponseError
}
func (*ObjectResponseErrorWrapper) MarshalJSON ¶ added in v0.0.25
func (w *ObjectResponseErrorWrapper) MarshalJSON() ([]byte, error)
func (*ObjectResponseErrorWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *ObjectResponseErrorWrapper) UnmarshalJSON(data []byte) error
type ObjectResponseNotExistsError ¶ added in v0.0.25
type ObjectResponseUnknownError ¶ added in v0.0.25
type ObjectResponseUnknownError struct {
Code string `json:"code"`
}
type ObjectValueKind ¶ added in v0.0.25
type ObjectValueKind string
const ( ByImmutableReference ObjectValueKind = "ByImmutableReference" ByMutableReference ObjectValueKind = "ByMutableReference" ByValue ObjectValueKind = "ByValue" )
type OwnedObjectRef ¶
type OwnedObjectRef struct {
Owner ObjectOwnerWrapper `json:"owner"`
Reference SuiObjectRef `json:"reference"`
}
type PaginatedCheckpoints ¶ added in v0.0.25
type PaginatedCheckpoints struct {
Data []Checkpoint `json:"data"`
HasNextPage bool `json:"hasNextPage"`
NextCursor *string `json:"nextCursor,omitempty"`
}
type PaginatedCoins ¶
type PaginatedCoins struct {
Data []CoinStruct `json:"data"`
HasNextPage bool `json:"hasNextPage"`
NextCursor *string `json:"nextCursor,omitempty"`
}
type PaginatedDynamicFieldInfos ¶ added in v0.0.25
type PaginatedDynamicFieldInfos struct {
Data []DynamicFieldInfo `json:"data"`
NextCursor *string `json:"nextCursor,omitempty"`
HasNextPage bool `json:"hasNextPage"`
}
type PaginatedEvents ¶
type PaginatedObjectsResponse ¶
type PaginatedObjectsResponse struct {
Data []SuiObjectResponse `json:"data"`
NextCursor *string `json:"nextCursor,omitempty"`
HasNextPage bool `json:"hasNextPage"`
}
type PaginatedStrings ¶ added in v0.0.25
type PaginatedTransactionResponse ¶
type PaginatedTransactionResponse struct {
Data []SuiTransactionBlockResponse `json:"data"`
NextCursor *string `json:"nextCursor,omitempty"`
HasNextPage bool `json:"hasNextPage"`
}
type ProgrammableTransaction ¶ added in v0.0.25
type ProgrammableTransaction struct {
Transactions []SuiTransactionWrapper `json:"transactions"`
Inputs []SuiCallArgWrapper `json:"inputs"`
}
type ProtocolConfig ¶
type ProtocolConfig struct {
MinSupportedProtocolVersion string `json:"minSupportedProtocolVersion"`
MaxSupportedProtocolVersion string `json:"maxSupportedProtocolVersion"`
ProtocolVersion string `json:"protocolVersion"`
FeatureFlags map[string]bool `json:"featureFlags"`
Attributes map[string]ProtocolConfigValue `json:"attributes"`
}
type ProtocolConfigValue ¶
type ProtocolConfigValue interface {
// contains filtered or unexported methods
}
type ProtocolConfigValue_f64 ¶
type ProtocolConfigValue_f64 struct {
F64 string `json:"f64"`
}
type ProtocolConfigValue_u32 ¶
type ProtocolConfigValue_u32 struct {
U32 string `json:"u32"`
}
type ProtocolConfigValue_u64 ¶
type ProtocolConfigValue_u64 struct {
U64 string `json:"u64"`
}
type QueryEventsParams ¶
type QueryEventsParams struct {
Query SuiEventFilter `json:"query"`
Cursor *EventId `json:"cursor,omitempty"`
Limit *int `json:"limit,omitempty"`
Order *QueryTransactionBlocksParams_Order `json:"order,omitempty"`
}
type QueryTransactionBlocksParams ¶
type QueryTransactionBlocksParams struct {
Cursor *string `json:"cursor,omitempty"`
Limit *int `json:"limit,omitempty"`
Order *QueryTransactionBlocksParams_Order `json:"order,omitempty"`
SuiTransactionBlockResponseQuery SuiTransactionBlockResponseQuery `json:",inline"`
}
type QueryTransactionBlocksParams_Order ¶
type QueryTransactionBlocksParams_Order string
var ( Ascending QueryTransactionBlocksParams_Order = "ascending" Descending QueryTransactionBlocksParams_Order = "descending" )
type RawDataMoveObject ¶ added in v0.0.25
type RawDataPackage ¶ added in v0.0.25
type RawDataPackage struct {
DataType string `json:"dataType"`
ID string `json:"id"`
Version uint64 `json:"version"`
ModuleMap map[string]string `json:"moduleMap"`
TypeOriginTable []TypeOrigin `json:"typeOriginTable"`
LinkageTable map[string]UpgradeInfo `json:"linkageTable"`
}
type RawDataWrapper ¶ added in v0.0.25
type RawDataWrapper struct {
RawData
}
func (*RawDataWrapper) MarshalJSON ¶ added in v0.0.25
func (w *RawDataWrapper) MarshalJSON() ([]byte, error)
func (*RawDataWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *RawDataWrapper) UnmarshalJSON(data []byte) error
type ResolveNameServiceAddressParams ¶
type ResolveNameServiceAddressParams struct {
Name string `json:"name"`
}
type SignAndExecuteTransactionBlockParams ¶
type SignAndExecuteTransactionBlockParams struct {
TransactionBlock []byte `json:"transactionBlock"`
Signer cryptography.Signer `json:"signer"`
Options *SuiTransactionBlockResponseOptions `json:"options,omitempty"`
RequestType *ExecuteTransactionRequestType `json:"requestType,omitempty"`
}
type Signature ¶ added in v0.0.25
type Signature interface {
// contains filtered or unexported methods
}
type SignatureEd25519 ¶ added in v0.0.25
type SignatureEd25519 struct {
Ed25519SuiSignature string `json:"Ed25519SuiSignature"`
}
type SignatureSecp256k1 ¶ added in v0.0.25
type SignatureSecp256k1 struct {
Secp256k1SuiSignature string `json:"Secp256k1SuiSignature"`
}
type SignatureSecp256r1 ¶ added in v0.0.25
type SignatureSecp256r1 struct {
Secp256r1SuiSignature string `json:"Secp256r1SuiSignature"`
}
type SignatureWrapper ¶ added in v0.0.25
type SignatureWrapper struct {
Signature
}
func (*SignatureWrapper) MarshalJSON ¶ added in v0.0.25
func (w *SignatureWrapper) MarshalJSON() ([]byte, error)
func (*SignatureWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SignatureWrapper) UnmarshalJSON(data []byte) error
type StakeObject ¶
type StakeObject interface {
// contains filtered or unexported methods
}
type StakeObjectActive ¶ added in v0.0.25
type StakeObjectPending ¶ added in v0.0.25
type StakeObjectUnstaked ¶ added in v0.0.25
type StakeObjectWrapper ¶ added in v0.0.25
type StakeObjectWrapper struct {
StakeObject
}
func (*StakeObjectWrapper) MarshalJSON ¶ added in v0.0.25
func (w *StakeObjectWrapper) MarshalJSON() ([]byte, error)
func (*StakeObjectWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *StakeObjectWrapper) UnmarshalJSON(data []byte) error
type SubscribeEventParams ¶
type SubscribeEventParams struct {
Filter SuiEventFilter `json:"filter"`
}
type SubscribeTransactionParams ¶
type SubscribeTransactionParams struct {
Filter TransactionFilter `json:"filter"`
}
type SuiActiveJwk ¶
type SuiArgument ¶ added in v0.0.25
type SuiArgument interface {
// contains filtered or unexported methods
}
-----------SuiArgument-----------
type SuiArgumentGasCoin ¶ added in v0.0.25
type SuiArgumentGasCoin string
type SuiArgumentInput ¶ added in v0.0.25
type SuiArgumentInput struct {
Input uint64 `json:"Input"`
}
type SuiArgumentNestedResult ¶ added in v0.0.25
type SuiArgumentNestedResult struct {
NestedResult [2]uint64 `json:"NestedResult"`
}
type SuiArgumentResult ¶ added in v0.0.25
type SuiArgumentResult struct {
Result uint64 `json:"Result"`
}
type SuiArgumentWrapper ¶ added in v0.0.25
type SuiArgumentWrapper struct {
SuiArgument
}
func (SuiArgumentWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiArgumentWrapper) MarshalJSON() ([]byte, error)
func (*SuiArgumentWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiArgumentWrapper) UnmarshalJSON(data []byte) error
type SuiAuthenticatorStateExpire ¶ added in v0.0.25
type SuiAuthenticatorStateExpire struct {
MinEpoch string `json:"min_epoch"`
}
type SuiCallArg ¶
type SuiCallArg interface {
// contains filtered or unexported methods
}
type SuiCallArgImmOrOwnedObject ¶ added in v0.0.25
type SuiCallArgPure ¶ added in v0.0.25
type SuiCallArgReceiving ¶ added in v0.0.25
type SuiCallArgSharedObject ¶ added in v0.0.25
type SuiCallArgSharedObject struct {
}
type SuiCallArgWrapper ¶ added in v0.0.25
type SuiCallArgWrapper struct {
SuiCallArg
}
func (*SuiCallArgWrapper) MarshalJSON ¶ added in v0.0.25
func (w *SuiCallArgWrapper) MarshalJSON() ([]byte, error)
func (*SuiCallArgWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiCallArgWrapper) UnmarshalJSON(data []byte) error
type SuiChangeEpoch ¶ added in v0.0.25
type SuiEndOfEpochTransactionKind ¶ added in v0.0.25
type SuiEndOfEpochTransactionKind interface {
// contains filtered or unexported methods
}
-----------SuiEndOfEpochTransactionKind-----------
type SuiEndOfEpochTransactionKindAuthenticatorStateCreate ¶ added in v0.0.25
type SuiEndOfEpochTransactionKindAuthenticatorStateCreate string
type SuiEndOfEpochTransactionKindAuthenticatorStateExpire ¶ added in v0.0.25
type SuiEndOfEpochTransactionKindAuthenticatorStateExpire struct {
AuthenticatorStateExpire SuiAuthenticatorStateExpire `json:"AuthenticatorStateExpire"`
}
type SuiEndOfEpochTransactionKindChangeEpoch ¶ added in v0.0.25
type SuiEndOfEpochTransactionKindChangeEpoch struct {
ChangeEpoch SuiChangeEpoch `json:"ChangeEpoch"`
}
type SuiEndOfEpochTransactionKindWrapper ¶ added in v0.0.25
type SuiEndOfEpochTransactionKindWrapper struct {
SuiEndOfEpochTransactionKind
}
func (*SuiEndOfEpochTransactionKindWrapper) MarshalJSON ¶ added in v0.0.25
func (w *SuiEndOfEpochTransactionKindWrapper) MarshalJSON() ([]byte, error)
func (*SuiEndOfEpochTransactionKindWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiEndOfEpochTransactionKindWrapper) UnmarshalJSON(data []byte) error
type SuiEvent ¶
type SuiEvent struct {
Id EventId `json:"id"`
PackageId string `json:"packageId"`
TransactionModule string `json:"transactionModule"`
Sender string `json:"sender"`
Type string `json:"type"`
ParsedJson interface{} `json:"parsedJson"`
Bcs string `json:"bcs"`
TimestampMs string `json:"timestampMs,omitempty"`
}
type SuiEventFilter ¶
type SuiEventFilter struct {
Sender *string `json:"Sender,omitempty"`
Transaction *string `json:"Transaction,omitempty"`
Package *string `json:"Package,omitempty"`
MoveModule *SuiEventFilter_MoveModule `json:"MoveModule,omitempty"`
MoveEventType *string `json:"MoveEventType,omitempty"`
MoveEventModule *SuiEventFilter_MoveEventModule `json:"MoveEventModule,omitempty"`
MoveEventField *SuiEventFilter_MoveEventField `json:"MoveEventField,omitempty"`
TimeRange *SuiEventFilter_TimeRange `json:"TimeRange,omitempty"`
All *SuiEventFilters `json:"All,omitempty"`
Any *SuiEventFilters `json:"Any,omitempty"`
And *SuiEventFilters `json:"And,omitempty"`
Or *SuiEventFilters `json:"Or,omitempty"`
}
type SuiEventFilter_MoveEventField ¶
type SuiEventFilter_MoveEventField struct {
Path string `json:"path"`
Value interface{} `json:"value"`
}
type SuiEventFilters ¶
type SuiEventFilters []SuiEventFilter
type SuiExecutionResult ¶
type SuiExecutionResult struct {
MutableReferenceOutputs [][3]interface{} `json:"mutableReferenceOutputs,omitempty"` // TODO: [SuiArgument, bytes, string][]
ReturnValues [][2]interface{} `json:"returnValues,omitempty"` // TODO: interface -> [bytes, string][]
}
type SuiGasData ¶
type SuiGasData struct {
Payment []SuiObjectRef `json:"payment"`
Owner string `json:"owner"`
Price string `json:"price"`
Budget string `json:"budget"`
}
type SuiMoveAbility ¶
type SuiMoveAbility string
var ( Copy SuiMoveAbility = "Copy" Drop SuiMoveAbility = "Drop" Store SuiMoveAbility = "Store" Key SuiMoveAbility = "Key" )
type SuiMoveAbilitySet ¶
type SuiMoveAbilitySet struct {
Abilities []SuiMoveAbility `json:"abilities"`
}
type SuiMoveFunctionArgObjectType ¶ added in v0.0.25
type SuiMoveFunctionArgObjectType struct {
Object ObjectValueKind `json:"Object"`
}
type SuiMoveFunctionArgStringType ¶ added in v0.0.25
type SuiMoveFunctionArgStringType string
type SuiMoveFunctionArgType ¶ added in v0.0.25
type SuiMoveFunctionArgType interface {
// contains filtered or unexported methods
}
------------------SuiMoveFunctionArgType------------------
type SuiMoveFunctionArgTypeWrapper ¶ added in v0.0.25
type SuiMoveFunctionArgTypeWrapper struct {
SuiMoveFunctionArgType
}
func (SuiMoveFunctionArgTypeWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiMoveFunctionArgTypeWrapper) MarshalJSON() ([]byte, error)
func (*SuiMoveFunctionArgTypeWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiMoveFunctionArgTypeWrapper) UnmarshalJSON(data []byte) error
type SuiMoveModuleId ¶
type SuiMoveNormalizedField ¶
type SuiMoveNormalizedField struct {
Name string `json:"name"`
Type SuiMoveNormalizedTypeWrapper `json:"type"`
}
type SuiMoveNormalizedFunction ¶
type SuiMoveNormalizedFunction struct {
Visibility SuiMoveVisibility `json:"visibility"`
IsEntry bool `json:"isEntry"`
TypeParameters []SuiMoveAbilitySet `json:"typeParameters"`
Parameters []*SuiMoveNormalizedTypeWrapper `json:"parameters"`
Return []*SuiMoveNormalizedTypeWrapper `json:"return"`
}
type SuiMoveNormalizedModule ¶
type SuiMoveNormalizedModule struct {
FileFormatVersion int `json:"fileFormatVersion"`
Address string `json:"address"`
Name string `json:"name"`
Friends []SuiMoveModuleId `json:"friends"`
Structs map[string]SuiMoveNormalizedStruct `json:"structs"`
ExposedFunctions map[string]SuiMoveNormalizedFunction `json:"exposedFunctions"`
}
type SuiMoveNormalizedModules ¶
type SuiMoveNormalizedModules map[string]SuiMoveNormalizedModule
type SuiMoveNormalizedStruct ¶
type SuiMoveNormalizedStruct struct {
Abilities SuiMoveAbilitySet `json:"abilities"`
TypeParameters []SuiMoveStructTypeParameter `json:"typeParameters"`
Fields []SuiMoveNormalizedField `json:"fields"`
}
type SuiMoveNormalizedType ¶ added in v0.0.25
type SuiMoveNormalizedType interface {
// contains filtered or unexported methods
}
type SuiMoveNormalizedTypeStruct ¶ added in v0.0.25
type SuiMoveNormalizedTypeStruct struct {
Address string `json:"address"`
Module string `json:"module"`
Name string `json:"name"`
TypeArguments []SuiMoveNormalizedTypeWrapper `json:"typeArguments"`
}
type SuiMoveNormalizedTypeWrapper ¶ added in v0.0.25
type SuiMoveNormalizedTypeWrapper struct {
SuiMoveNormalizedType
}
func (SuiMoveNormalizedTypeWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiMoveNormalizedTypeWrapper) MarshalJSON() ([]byte, error)
func (*SuiMoveNormalizedTypeWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiMoveNormalizedTypeWrapper) UnmarshalJSON(data []byte) error
type SuiMoveNormalizedType_MutableReference ¶ added in v0.0.25
type SuiMoveNormalizedType_MutableReference struct {
MutableReference SuiMoveNormalizedTypeWrapper `json:"MutableReference"`
}
type SuiMoveNormalizedType_Reference ¶ added in v0.0.25
type SuiMoveNormalizedType_Reference struct {
Reference SuiMoveNormalizedTypeWrapper `json:"Reference"`
}
type SuiMoveNormalizedType_String ¶ added in v0.0.25
type SuiMoveNormalizedType_String string
type SuiMoveNormalizedType_Struct ¶ added in v0.0.25
type SuiMoveNormalizedType_Struct struct {
Struct SuiMoveNormalizedTypeStruct `json:"Struct"`
}
type SuiMoveNormalizedType_TypeParameter ¶ added in v0.0.25
type SuiMoveNormalizedType_TypeParameter struct {
TypeParameter uint64 `json:"TypeParameter"`
}
type SuiMoveNormalizedType_Vector ¶ added in v0.0.25
type SuiMoveNormalizedType_Vector struct {
Vector SuiMoveNormalizedTypeWrapper `json:"Vector"`
}
type SuiMoveStructTypeParameter ¶
type SuiMoveStructTypeParameter struct {
Constraints SuiMoveAbilitySet `json:"constraints"`
IsPhantom bool `json:"isPhantom"`
}
type SuiMoveVisibility ¶
type SuiMoveVisibility string
var ( Private SuiMoveVisibility = "Private" Public SuiMoveVisibility = "Public" Friend SuiMoveVisibility = "Friend" )
type SuiObjectChange ¶
type SuiObjectChange interface {
// contains filtered or unexported methods
}
type SuiObjectChangeCreated ¶ added in v0.0.25
type SuiObjectChangeDeleted ¶ added in v0.0.25
type SuiObjectChangeMutated ¶ added in v0.0.25
type SuiObjectChangeMutated struct {
Type string `json:"type"`
Sender string `json:"sender"`
Owner *ObjectOwnerWrapper `json:"owner"`
ObjectType string `json:"objectType"`
ObjectId string `json:"objectId"`
Version string `json:"version"`
PreviousVersion string `json:"previousVersion"`
Digest string `json:"digest"`
}
type SuiObjectChangePublished ¶ added in v0.0.25
type SuiObjectChangeTransferred ¶ added in v0.0.25
type SuiObjectChangeWrapped ¶ added in v0.0.25
type SuiObjectChangeWrapper ¶ added in v0.0.25
type SuiObjectChangeWrapper struct {
SuiObjectChange
}
func (SuiObjectChangeWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiObjectChangeWrapper) MarshalJSON() ([]byte, error)
func (*SuiObjectChangeWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiObjectChangeWrapper) UnmarshalJSON(data []byte) error
type SuiObjectData ¶
type SuiObjectData struct {
ObjectId string `json:"objectId"`
Version string `json:"version"`
Digest string `json:"digest"`
Type *string `json:"type,omitempty"`
Owner *ObjectOwnerWrapper `json:"owner,omitempty"`
PreviousTransaction *string `json:"previousTransaction,omitempty"`
StorageRebate *string `json:"storageRebate,omitempty"`
Display *DisplayFieldsResponse `json:"display,omitempty"`
Content *SuiParsedDataWrapper `json:"content,omitempty"`
Bcs *RawDataWrapper `json:"bcs,omitempty"`
}
type SuiObjectDataFilter ¶
type SuiObjectDataFilter struct {
*SuiObjectDataFilter_MatchAll
*SuiObjectDataFilter_MatchAny
*SuiObjectDataFilter_MatchNone
*SuiObjectDataFilter_Package
*SuiObjectDataFilter_MoveModule
*SuiObjectDataFilter_StructType
*SuiObjectDataFilter_AddressOwner
*SuiObjectDataFilter_ObjectOwner
*SuiObjectDataFilter_ObjectId
*SuiObjectDataFilter_ObjectIds
*SuiObjectDataFilter_Version
}
type SuiObjectDataFilter_AddressOwner ¶
type SuiObjectDataFilter_AddressOwner struct {
AddressOwner string `json:"AddressOwner"`
}
type SuiObjectDataFilter_MatchAll ¶
type SuiObjectDataFilter_MatchAll struct {
MatchAll []SuiObjectDataFilter `json:"MatchAll"`
}
type SuiObjectDataFilter_MatchAny ¶
type SuiObjectDataFilter_MatchAny struct {
MatchAny []SuiObjectDataFilter `json:"MatchAny"`
}
type SuiObjectDataFilter_MatchNone ¶
type SuiObjectDataFilter_MatchNone struct {
MatchNone []SuiObjectDataFilter `json:"MatchNone"`
}
type SuiObjectDataFilter_MoveModule ¶
type SuiObjectDataFilter_MoveModule struct {
MoveModule SuiObjectDataFilter_MoveModule_Struct `json:"MoveModule"`
}
type SuiObjectDataFilter_ObjectId ¶
type SuiObjectDataFilter_ObjectId struct {
ObjectId string `json:"ObjectId"`
}
type SuiObjectDataFilter_ObjectIds ¶
type SuiObjectDataFilter_ObjectIds struct {
ObjectIds []string `json:"ObjectIds"`
}
type SuiObjectDataFilter_ObjectOwner ¶
type SuiObjectDataFilter_ObjectOwner struct {
ObjectOwner string `json:"ObjectOwner"`
}
type SuiObjectDataFilter_Package ¶
type SuiObjectDataFilter_Package struct {
Package string `json:"Package"`
}
type SuiObjectDataFilter_StructType ¶
type SuiObjectDataFilter_StructType struct {
StructType string `json:"StructType"`
}
type SuiObjectDataFilter_Version ¶
type SuiObjectDataFilter_Version struct {
Version string `json:"Version"`
}
type SuiObjectDataOptions ¶
type SuiObjectDataOptions struct {
ShowBcs bool `json:"showBcs,omitempty"`
ShowContent bool `json:"showContent,omitempty"`
ShowDisplay bool `json:"showDisplay,omitempty"`
ShowOwner bool `json:"showOwner,omitempty"`
ShowPreviousTransaction bool `json:"showPreviousTransaction,omitempty"`
ShowStorageRebate bool `json:"showStorageRebate,omitempty"`
ShowType bool `json:"showType,omitempty"`
}
type SuiObjectRef ¶
type SuiObjectResponse ¶
type SuiObjectResponse struct {
Data *SuiObjectData `json:"data,omitempty"`
Error *ObjectResponseErrorWrapper `json:"error,omitempty"`
}
type SuiObjectResponseQuery ¶
type SuiObjectResponseQuery struct {
Filter *SuiObjectDataFilter `json:"filter,omitempty"`
Options *SuiObjectDataOptions `json:"options,omitempty"`
}
type SuiParsedData ¶
type SuiParsedData interface {
// contains filtered or unexported methods
}
type SuiParsedDataWrapper ¶ added in v0.0.25
type SuiParsedDataWrapper struct {
SuiParsedData
}
func (*SuiParsedDataWrapper) MarshalJSON ¶ added in v0.0.25
func (w *SuiParsedDataWrapper) MarshalJSON() ([]byte, error)
func (*SuiParsedDataWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiParsedDataWrapper) UnmarshalJSON(data []byte) error
type SuiParsedMoveObjectData ¶ added in v0.0.25
type SuiParsedMoveObjectData struct {
DataType string `json:"dataType"`
Type string `json:"type"`
HasPublicTransfer bool `json:"hasPublicTransfer"`
Fields MoveStructWrapper `json:"fields"`
}
type SuiParsedPackageData ¶ added in v0.0.25
type SuiSystemStateSummary ¶
type SuiSystemStateSummary struct {
Epoch string `json:"epoch"`
ProtocolVersion string `json:"protocolVersion"`
SystemStateVersion string `json:"systemStateVersion"`
StorageFundTotalObjectStorageRebates string `json:"storageFundTotalObjectStorageRebates"`
StorageFundNonRefundableBalance string `json:"storageFundNonRefundableBalance"`
ReferenceGasPrice string `json:"referenceGasPrice"`
SafeMode bool `json:"safeMode"`
SafeModeStorageRewards string `json:"safeModeStorageRewards"`
SafeModeComputationRewards string `json:"safeModeComputationRewards"`
SafeModeStorageRebates string `json:"safeModeStorageRebates"`
SafeModeNonRefundableStorageFee string `json:"safeModeNonRefundableStorageFee"`
EpochStartTimestampMs string `json:"epochStartTimestampMs"`
EpochDurationMs string `json:"epochDurationMs"`
StakeSubsidyStartEpoch string `json:"stakeSubsidyStartEpoch"`
MaxValidatorCount string `json:"maxValidatorCount"`
MinValidatorJoiningStake string `json:"minValidatorJoiningStake"`
ValidatorLowStakeThreshold string `json:"validatorLowStakeThreshold"`
ValidatorVeryLowStakeThreshold string `json:"validatorVeryLowStakeThreshold"`
ValidatorLowStakeGracePeriod string `json:"validatorLowStakeGracePeriod"`
StakeSubsidyBalance string `json:"stakeSubsidyBalance"`
StakeSubsidyDistributionCounter string `json:"stakeSubsidyDistributionCounter"`
StakeSubsidyCurrentDistributionAmount string `json:"stakeSubsidyCurrentDistributionAmount"`
StakeSubsidyPeriodLength string `json:"stakeSubsidyPeriodLength"`
StakeSubsidyDecreaseRate int `json:"stakeSubsidyDecreaseRate"`
TotalStake string `json:"totalStake"`
ActiveValidators []SuiValidatorSummary `json:"activeValidators"`
PendingActiveValidatorsId string `json:"pendingActiveValidatorsId"`
PendingActiveValidatorsSize string `json:"pendingActiveValidatorsSize"`
PendingRemovals []string `json:"pendingRemovals"`
StakingPoolMappingsId string `json:"stakingPoolMappingsId"`
StakingPoolMappingsSize string `json:"stakingPoolMappingsSize"`
InactivePoolsId string `json:"inactivePoolsId"`
InactivePoolsSize string `json:"inactivePoolsSize"`
ValidatorCandidatesId string `json:"validatorCandidatesId"`
ValidatorCandidatesSize string `json:"validatorCandidatesSize"`
AtRiskValidators [][2]string `json:"atRiskValidators"`
ValidatorReportRecords [][2]interface{} `json:"validatorReportRecords"`
}
type SuiTransaction ¶ added in v0.0.25
type SuiTransaction interface {
// contains filtered or unexported methods
}
-----------Sui Transaction-----------
type SuiTransactionArgument ¶ added in v0.0.25
type SuiTransactionArgument interface {
// contains filtered or unexported methods
}
-----------SuiTransactionArgument-----------
type SuiTransactionArgumentArray ¶ added in v0.0.25
type SuiTransactionArgumentArray []SuiArgumentWrapper
type SuiTransactionArgumentOne ¶ added in v0.0.25
type SuiTransactionArgumentOne SuiArgumentWrapper
type SuiTransactionArgumentString ¶ added in v0.0.25
type SuiTransactionArgumentString string
type SuiTransactionArgumentStringArray ¶ added in v0.0.25
type SuiTransactionArgumentStringArray []string
type SuiTransactionArgumentWrapper ¶ added in v0.0.25
type SuiTransactionArgumentWrapper struct {
SuiTransactionArgument
}
func (SuiTransactionArgumentWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiTransactionArgumentWrapper) MarshalJSON() ([]byte, error)
func (*SuiTransactionArgumentWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiTransactionArgumentWrapper) UnmarshalJSON(data []byte) error
type SuiTransactionBlock ¶
type SuiTransactionBlock struct {
Data TransactionBlockData `json:"data"`
TxSignatures []string `json:"txSignatures"`
}
type SuiTransactionBlockBuilderMode ¶ added in v0.0.25
type SuiTransactionBlockBuilderMode string
const ( Commit SuiTransactionBlockBuilderMode = "Commit" DevInspect SuiTransactionBlockBuilderMode = "DevInspect" )
type SuiTransactionBlockKind ¶
type SuiTransactionBlockKind interface {
// contains filtered or unexported methods
}
-----------SuiTransactionBlockKind-----------
type SuiTransactionBlockKindAuthenticatorStateUpdate ¶ added in v0.0.25
type SuiTransactionBlockKindAuthenticatorStateUpdate struct {
Epoch string `json:"epoch"`
Kind string `json:"kind"`
NewActiveJwks []SuiActiveJwk `json:"new_active_jwks"`
Round string `json:"round"`
}
type SuiTransactionBlockKindChangeEpoch ¶ added in v0.0.25
type SuiTransactionBlockKindChangeEpoch struct {
ComputationCharge string `json:"computation_charge"`
Epoch string `json:"epoch"`
EpochStartTimestampMs string `json:"epoch_start_timestamp_ms"`
Kind string `json:"kind"`
StorageCharge string `json:"storage_charge"`
StorageRebate string `json:"storage_rebate"`
}
type SuiTransactionBlockKindConsensusCommitPrologue ¶ added in v0.0.25
type SuiTransactionBlockKindConsensusCommitPrologueV3 ¶ added in v0.0.25
type SuiTransactionBlockKindConsensusCommitPrologueV3 struct {
Kind string `json:"kind"`
Epoch string `json:"epoch"`
Round string `json:"round"`
SubDagIndex interface{} `json:"sub_dag_index"`
CommitTimestampMs string `json:"commit_timestamp_ms"`
ConsensusCommitDigest string `json:"consensus_commit_digest"`
ConsensusDeterminedVersionAssignments ConsensusDeterminedVersionAssignments `json:"consensus_determined_version_assignments"`
}
type SuiTransactionBlockKindEndOfEpochTransaction ¶ added in v0.0.25
type SuiTransactionBlockKindEndOfEpochTransaction struct {
Kind string `json:"kind"`
Transactions []SuiEndOfEpochTransactionKindWrapper `json:"Transactions"`
}
type SuiTransactionBlockKindGenesis ¶ added in v0.0.25
type SuiTransactionBlockKindProgrammableTransaction ¶ added in v0.0.25
type SuiTransactionBlockKindProgrammableTransaction struct {
Kind string `json:"kind"`
Inputs []SuiCallArgWrapper `json:"inputs"`
Transactions []SuiTransactionWrapper `json:"transactions"`
}
type SuiTransactionBlockKindWrapper ¶ added in v0.0.25
type SuiTransactionBlockKindWrapper struct {
SuiTransactionBlockKind
}
func (SuiTransactionBlockKindWrapper) MarshalJSON ¶ added in v0.0.25
func (w SuiTransactionBlockKindWrapper) MarshalJSON() ([]byte, error)
func (*SuiTransactionBlockKindWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiTransactionBlockKindWrapper) UnmarshalJSON(data []byte) error
type SuiTransactionBlockResponse ¶
type SuiTransactionBlockResponse struct {
Digest string `json:"digest"`
Transaction *SuiTransactionBlock `json:"transaction,omitempty"`
RawTransaction string `json:"rawTransaction,omitempty"`
Effects *TransactionEffects `json:"effects,omitempty"`
Events []*SuiEvent `json:"events,omitempty"`
ObjectChanges []*SuiObjectChangeWrapper `json:"objectChanges,omitempty"`
BalanceChanges []*BalanceChange `json:"balanceChanges,omitempty"`
TimestampMs *string `json:"timestampMs,omitempty"`
Checkpoint *string `json:"checkpoint,omitempty"`
ConfirmedLocalExecution *bool `json:"confirmedLocalExecution,omitempty"`
Errors []string `json:"errors,omitempty"`
}
type SuiTransactionBlockResponseOptions ¶
type SuiTransactionBlockResponseOptions struct {
ShowInput bool `json:"showInput,omitempty"`
ShowEffects bool `json:"showEffects,omitempty"`
ShowEvents bool `json:"showEvents,omitempty"`
ShowObjectChanges bool `json:"showObjectChanges,omitempty"`
ShowBalanceChanges bool `json:"showBalanceChanges,omitempty"`
ShowRawInput bool `json:"showRawInput,omitempty"`
}
type SuiTransactionBlockResponseQuery ¶
type SuiTransactionBlockResponseQuery struct {
Filter *TransactionFilter `json:"filter,omitempty"`
Options *SuiTransactionBlockResponseOptions `json:"options,omitempty"`
}
type SuiTransactionMakeMoveVec ¶ added in v0.0.25
type SuiTransactionMakeMoveVec struct {
MakeMoveVec [2]*SuiTransactionArgumentWrapper `json:"MakeMoveVec"`
}
type SuiTransactionMergeCoins ¶ added in v0.0.25
type SuiTransactionMergeCoins struct {
MergeCoins [2]SuiTransactionArgumentWrapper `json:"MergeCoins"`
}
type SuiTransactionMoveCall ¶ added in v0.0.25
type SuiTransactionMoveCall struct {
MoveCall MoveCallSuiTransaction `json:"MoveCall"`
}
type SuiTransactionPublish ¶ added in v0.0.25
type SuiTransactionPublish struct {
Publish []string `json:"Publish"`
}
type SuiTransactionSplitCoins ¶ added in v0.0.25
type SuiTransactionSplitCoins struct {
SplitCoins [2]SuiTransactionArgumentWrapper `json:"SplitCoins"`
}
type SuiTransactionTransferObjects ¶ added in v0.0.25
type SuiTransactionTransferObjects struct {
TransferObjects [2]SuiTransactionArgumentWrapper `json:"TransferObjects"`
}
type SuiTransactionUpgrade ¶ added in v0.0.25
type SuiTransactionUpgrade struct {
Upgrade [3]SuiTransactionArgumentWrapper `json:"Upgrade"`
}
type SuiTransactionWrapper ¶ added in v0.0.25
type SuiTransactionWrapper struct {
SuiTransaction
}
func (*SuiTransactionWrapper) MarshalJSON ¶ added in v0.0.25
func (w *SuiTransactionWrapper) MarshalJSON() ([]byte, error)
func (*SuiTransactionWrapper) UnmarshalJSON ¶ added in v0.0.25
func (w *SuiTransactionWrapper) UnmarshalJSON(data []byte) error
type SuiValidatorSummary ¶
type SuiValidatorSummary struct {
SuiAddress string `json:"suiAddress"`
ProtocolPubkeyBytes string `json:"protocolPubkeyBytes"`
NetworkPubkeyBytes string `json:"networkPubkeyBytes"`
WorkerPubkeyBytes string `json:"workerPubkeyBytes"`
ProofOfPossessionBytes string `json:"proofOfPossessionBytes"`
Name string `json:"name"`
Description string `json:"description"`
ImageUrl string `json:"imageUrl"`
ProjectUrl string `json:"projectUrl"`
NetAddress string `json:"netAddress"`
P2pAddress string `json:"p2pAddress"`
PrimaryAddress string `json:"primaryAddress"`
WorkerAddress string `json:"workerAddress"`
NextEpochProtocolPubkeyBytes *string `json:"nextEpochProtocolPubkeyBytes"`
NextEpochProofOfPossession *string `json:"nextEpochProofOfPossession"`
NextEpochNetworkPubkeyBytes *string `json:"nextEpochNetworkPubkeyBytes"`
NextEpochWorkerPubkeyBytes *string `json:"nextEpochWorkerPubkeyBytes"`
NextEpochNetAddress *string `json:"nextEpochNetAddress"`
NextEpochP2pAddress *string `json:"nextEpochP2pAddress"`
NextEpochPrimaryAddress *string `json:"nextEpochPrimaryAddress"`
NextEpochWorkerAddress *string `json:"nextEpochWorkerAddress"`
VotingPower string `json:"votingPower"`
OperationCapId string `json:"operationCapId"`
GasPrice string `json:"gasPrice"`
CommissionRate string `json:"commissionRate"`
NextEpochStake string `json:"nextEpochStake"`
NextEpochGasPrice string `json:"nextEpochGasPrice"`
NextEpochCommissionRate string `json:"nextEpochCommissionRate"`
StakingPoolId string `json:"stakingPoolId"`
StakingPoolActivationEpoch *string `json:"stakingPoolActivationEpoch"`
StakingPoolDeactivationEpoch *string `json:"stakingPoolDeactivationEpoch"`
StakingPoolSuiBalance string `json:"stakingPoolSuiBalance"`
RewardsPool string `json:"rewardsPool"`
PoolTokenBalance string `json:"poolTokenBalance"`
PendingStake string `json:"pendingStake"`
PendingTotalSuiWithdraw string `json:"pendingTotalSuiWithdraw"`
PendingPoolTokenWithdraw string `json:"pendingPoolTokenWithdraw"`
ExchangeRatesId string `json:"exchangeRatesId"`
ExchangeRatesSize string `json:"exchangeRatesSize"`
}
type TransactionBlockBytes ¶ added in v0.0.25
type TransactionBlockBytes struct {
Gas []SuiObjectRef `json:"gas"`
InputObjects []InputObjectKindWrapper `json:"inputObjects"`
TxBytes string `json:"txBytes"`
}
type TransactionBlockData ¶
type TransactionBlockData struct {
MessageVersion string `json:"messageVersion"`
Transaction SuiTransactionBlockKindWrapper `json:"transaction"`
Sender string `json:"sender"`
GasData SuiGasData `json:"gasData"`
}
type TransactionEffects ¶
type TransactionEffects struct {
MessageVersion string `json:"messageVersion"`
Status ExecutionStatus `json:"status"`
ExecutedEpoch string `json:"executedEpoch"`
GasUsed GasCostSummary `json:"gasUsed"`
ModifiedAtVersions []TransactionBlockEffectsModifiedAtVersions `json:"modifiedAtVersions,omitempty"`
TransactionDigest string `json:"transactionDigest"`
Created []OwnedObjectRef `json:"created,omitempty"`
Mutated []OwnedObjectRef `json:"mutated,omitempty"`
Deleted []SuiObjectRef `json:"deleted,omitempty"`
GasObject OwnedObjectRef `json:"gasObject"`
EventsDigest *string `json:"eventsDigest,omitempty"`
Dependencies []string `json:"dependencies,omitempty"`
Unwrapped []OwnedObjectRef `json:"unwrapped,omitempty"`
UnwrappedThenDeleted []SuiObjectRef `json:"unwrappedThenDeleted,omitempty"`
Wrapped []SuiObjectRef `json:"wrapped,omitempty"`
}
type TransactionFilter ¶
type TransactionFilter struct {
Checkpoint *string `json:"Checkpoint,omitempty"`
MoveFunction *TransactionFilter_MoveFunction `json:"MoveFunction,omitempty"`
InputObject *string `json:"InputObject,omitempty"`
ChangedObject *string `json:"ChangedObject,omitempty"`
FromAddress *string `json:"FromAddress,omitempty"`
ToAddress *string `json:"ToAddress,omitempty"`
FromAndToAddress *TransactionFilter_FromAndToAddress `json:"FromAndToAddress,omitempty"`
FromOrToAddress *TransactionFilter_FromOrToAddress `json:"FromOrToAddress,omitempty"`
TransactionKind *string `json:"TransactionKind,omitempty"`
TransactionKindIn []*string `json:"TransactionKindIn,omitempty"`
}
type TransactionFilter_FromOrToAddress ¶
type TransactionFilter_FromOrToAddress struct {
Addr string `json:"addr"`
}
type TransferObjectParams ¶ added in v0.0.25
type TryGetPastObjectParams ¶
type TryGetPastObjectParams struct {
ID string `json:"id"`
Version int `json:"version"`
Options *SuiObjectDataOptions `json:"options,omitempty"`
}
type TypeOrigin ¶
type UpgradeInfo ¶
type ValidatorApy ¶
type ValidatorsApy ¶
type ValidatorsApy struct {
APYs []ValidatorApy `json:"apys"`
Epoch string `json:"epoch"`
}
type VersionTooHighDetails ¶ added in v0.0.25
type ZkLoginAuthenticator ¶ added in v0.0.25
type ZkLoginAuthenticator struct {
Inputs ZkLoginInputs `json:"inputs"`
MaxEpoch string `json:"maxEpoch"`
UserSignature SignatureWrapper `json:"userSignature"`
}
type ZkLoginInputs ¶ added in v0.0.25
type ZkLoginInputs struct {
AddressSeed string `json:"addressSeed"`
HeaderBase64 string `json:"headerBase64"`
IssBase64Details Claim `json:"issBase64Details"`
ProofPoints ZkLoginProof `json:"proofPoints"`
}
type ZkLoginProof ¶ added in v0.0.25
Source Files
¶
Click to show internal directories.
Click to hide internal directories.