Versions in this module Expand all Collapse all v1 v1.10.3 Dec 16, 2024 v1.10.2 Dec 15, 2024 Changes in this version + const DefaultGasPrice + const Delegation + const SideEffectTransactionSuffix + const SignedPayloadLength + const SubAccountMetadataKey + const UnDelegation + const UndelegationPayout + var CallMethod = []string + var FormatDefaultSenderAddress = ethcommon.HexToAddress("0xEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE") + func ConstructTransaction(components *OperationComponents, metadata *ConstructMetadata, ...) (response itcTypes.PoolTransaction, rosettaError *types.Error) + func FormatCrossShardReceiverTransaction(cxReceipt *itctypes.CXReceipt) (txs *types.Transaction, rosettaError *types.Error) + func FormatTransaction(tx itctypes.PoolTransaction, receipt *itctypes.Receipt, ...) (fmtTx *types.Transaction, rosettaError *types.Error) + func GetNativeOperationsFromStakingTransaction(tx *stakingTypes.StakingTransaction, receipt *itctypes.Receipt, signed bool) ([]*types.Operation, *types.Error) + func GetNativeOperationsFromTransaction(tx *itctypes.Transaction, receipt *itctypes.Receipt, ...) ([]*types.Operation, *types.Error) + func GetSideEffectOperationsFromGenesisSpec(spec *core.Genesis, startingOperationIndex *int64) ([]*types.Operation, *types.Error) + func GetSideEffectOperationsFromPreStakingRewards(rewards itc.PreStakingBlockRewards, startingOperationIndex *int64) ([]*types.Operation, *types.Error) + func GetTransactionStatus(tx itctypes.PoolTransaction, receipt *itctypes.Receipt) *string + func NewAccountAPI(itc *itc.Intelchain) server.AccountAPIServicer + func NewBlockAPI(itc *itc.Intelchain) server.BlockAPIServicer + func NewCallAPIService(itc *itc.Intelchain, limiterEnable bool, rateLimit int, ...) server.CallAPIServicer + func NewConstructionAPI(itc *itc.Intelchain) server.ConstructionAPIServicer + func NewMempoolAPI(itc *itc.Intelchain) server.MempoolAPIServicer + func NewNetworkAPI(itc *itc.Intelchain) server.NetworkAPIServicer + type AccountAPI struct + func (s *AccountAPI) AccountBalance(ctx context.Context, request *types.AccountBalanceRequest) (*types.AccountBalanceResponse, *types.Error) + func (s *AccountAPI) AccountCoins(ctx context.Context, request *types.AccountCoinsRequest) (*types.AccountCoinsResponse, *types.Error) + type AccountMetadata struct + Address string + type BlockAPI struct + func (s *BlockAPI) Block(ctx context.Context, request *types.BlockRequest) (response *types.BlockResponse, rosettaError *types.Error) + func (s *BlockAPI) BlockTransaction(ctx context.Context, request *types.BlockTransactionRequest) (*types.BlockTransactionResponse, *types.Error) + type BlockMetadata struct + Epoch *big.Int + type CallAPIService struct + func (c *CallAPIService) Call(ctx context.Context, request *types.CallRequest) (*types.CallResponse, *types.Error) + type CallRequest struct + BlockNum int64 + func (cr *CallRequest) UnmarshalFromInterface(args interface{}) error + type ConstructAPI struct + func (s *ConstructAPI) ConstructionCombine(ctx context.Context, request *types.ConstructionCombineRequest) (*types.ConstructionCombineResponse, *types.Error) + func (s *ConstructAPI) ConstructionDerive(ctx context.Context, request *types.ConstructionDeriveRequest) (*types.ConstructionDeriveResponse, *types.Error) + func (s *ConstructAPI) ConstructionHash(ctx context.Context, request *types.ConstructionHashRequest) (*types.TransactionIdentifierResponse, *types.Error) + func (s *ConstructAPI) ConstructionMetadata(ctx context.Context, request *types.ConstructionMetadataRequest) (*types.ConstructionMetadataResponse, *types.Error) + func (s *ConstructAPI) ConstructionParse(ctx context.Context, request *types.ConstructionParseRequest) (*types.ConstructionParseResponse, *types.Error) + func (s *ConstructAPI) ConstructionPayloads(ctx context.Context, request *types.ConstructionPayloadsRequest) (*types.ConstructionPayloadsResponse, *types.Error) + func (s *ConstructAPI) ConstructionPreprocess(ctx context.Context, request *types.ConstructionPreprocessRequest) (*types.ConstructionPreprocessResponse, *types.Error) + func (s *ConstructAPI) ConstructionSubmit(ctx context.Context, request *types.ConstructionSubmitRequest) (*types.TransactionIdentifierResponse, *types.Error) + type ConstructMetadata struct + ContractCode hexutil.Bytes + EvmErrorMessage string + EvmReturn hexutil.Bytes + GasLimit uint64 + GasPrice *big.Int + Nonce uint64 + Transaction *TransactionMetadata + func (m *ConstructMetadata) UnmarshalFromInterface(blockArgs interface{}) error + type ConstructMetadataOptions struct + GasPriceMultiplier *float64 + OperationType string + TransactionMetadata *TransactionMetadata + func (m *ConstructMetadataOptions) UnmarshalFromInterface(metadata interface{}) error + type ContractInfo struct + ContractAddress *ethcommon.Address + ContractCode []byte + ExecutionResult []*tracers.RosettaLogItem + type EventAPI struct + func NewEventAPI(itc *itc.Intelchain) *EventAPI + func (e *EventAPI) EventsBlocks(ctx context.Context, request *types.EventsBlocksRequest) (resp *types.EventsBlocksResponse, err *types.Error) + type GetAllValidatorInformationByBlockNumberRequest struct + BlockNumber int64 + PageNumber int + func (r *GetAllValidatorInformationByBlockNumberRequest) UnmarshalFromInterface(args interface{}) error + type GetAllValidatorInformationRequest struct + PageNumber int + func (r *GetAllValidatorInformationRequest) UnmarshalFromInterface(args interface{}) error + type GetCodeRequest struct + Addr string + BlockNum int64 + func (cr *GetCodeRequest) UnmarshalFromInterface(args interface{}) error + type GetDelegationByDelegatorAddrAndBlockNumRequest struct + BlockNum int64 + DelegatorAddr string + func (r *GetDelegationByDelegatorAddrAndBlockNumRequest) UnmarshalFromInterface(args interface{}) error + type GetDelegationsByDelegatorAddrRequest struct + DelegatorAddr string + func (r *GetDelegationsByDelegatorAddrRequest) UnmarshalFromInterface(args interface{}) error + type GetDelegationsByValidatorRequest struct + ValidatorAddr string + func (r *GetDelegationsByValidatorRequest) UnmarshalFromInterface(args interface{}) error + type GetStorageAtRequest struct + Addr string + BlockNum int64 + Key string + func (sr *GetStorageAtRequest) UnmarshalFromInterface(args interface{}) error + type GetValidatorInformationRequest struct + ValidatorAddr string + func (r *GetValidatorInformationRequest) UnmarshalFromInterface(args interface{}) error + type MempoolAPI struct + func (s *MempoolAPI) Mempool(ctx context.Context, req *types.NetworkRequest) (*types.MempoolResponse, *types.Error) + func (s *MempoolAPI) MempoolTransaction(ctx context.Context, req *types.MempoolTransactionRequest) (*types.MempoolTransactionResponse, *types.Error) + type NetworkAPI struct + func (s *NetworkAPI) NetworkList(ctx context.Context, request *types.MetadataRequest) (*types.NetworkListResponse, *types.Error) + func (s *NetworkAPI) NetworkOptions(ctx context.Context, request *types.NetworkRequest) (*types.NetworkOptionsResponse, *types.Error) + func (s *NetworkAPI) NetworkStatus(ctx context.Context, request *types.NetworkRequest) (*types.NetworkStatusResponse, *types.Error) + type OperationComponents struct + Amount *big.Int + From *types.AccountIdentifier + StakingMessage interface{} + To *types.AccountIdentifier + Type string + func GetOperationComponents(operations []*types.Operation) (*OperationComponents, *types.Error) + func (s *OperationComponents) IsStaking() bool + type SearchAPI struct + func NewSearchAPI(itc *itc.Intelchain) *SearchAPI + func (s *SearchAPI) SearchTransactions(ctx context.Context, request *types.SearchTransactionsRequest) (resp *types.SearchTransactionsResponse, err *types.Error) + type TransactionMetadata struct + ContractAccountIdentifier *types.AccountIdentifier + CrossShardIdentifier *types.TransactionIdentifier + Data *string + FromShardID *uint32 + Logs []*itcTypes.Log + SlotKeySigs []string + SlotKeyToAddSig string + SlotPubKeyToAdd string + SlotPubKeyToRemove string + SlotPubKeys []string + ToShardID *uint32 + func (t *TransactionMetadata) UnmarshalFromInterface(metaData interface{}) error + type WrappedTransaction struct + ContractCode hexutil.Bytes + From *types.AccountIdentifier + IsStaking bool + RLPBytes []byte