Welcome to first doc’s documentation!¶
- Web API
- Chain API
- Get information about a given block by block hash. Optionally with the list of its transactions.
- Get information about a given block by block height. Optionally with the list of its transactions.
- Get the height of the current chain.
- Get the current state about a given block
- Get the current status of the block chain.
- Get the protobuf definitions related to a contract
- POST /api/blockChain/executeRawTransaction
- Call a read-only method on a contract.
- Get the merkle path of a transaction.
- Creates an unsigned serialized transaction
- send a transaction
- Broadcast a transaction
- Broadcast multiple transactions
- GET /api/blockChain/taskQueueStatus
- Get the transaction pool status.
- Get the current status of a transaction
- Get multiple transaction results.
- Net API
- Get information about the node’s connection to the network.
- Attempts to add a node to the connected network nodes
- Attempts to remove a node from the connected network nodes
- Get peer info about the connected network nodes
- Definitions
- AddPeerInput
- BlockBodyDto
- BlockDto
- BlockHeaderDto
- BlockStateDto
- ChainStatusDto
- CreateRawTransactionInput
- CreateRawTransactionOutput
- ExecuteRawTransactionDto
- ExecuteTransactionDto
- GetNetworkInfoOutput
- GetTransactionPoolStatusOutput
- LogEventDto
- MerklePathDto
- MerklePathNodeDto
- MinerInRoundDto
- PeerDto
- RequestMetric
- RoundDto
- SendRawTransactionInput
- SendRawTransactionOutput
- SendTransactionInput
- SendTransactionOutput
- SendTransactionsInput
- TaskQueueInfoDto
- Timestamp
- TransactionDto
- TransactionResultDto
- Chain API
- Chain SDK
- Contract SDK
- AElf.SDK.CSharp
- Contents
- BoolState
type
- BytesState
type
- CSharpSmartContractContext
type
- ChainId
property
- CurrentBlockTime
property
- CurrentHeight
property
- Origin
property
- PreviousBlockHash
property
- Self
property
- Sender
property
- StateProvider
property
- TransactionId
property
- Variables
property
- Call(fromAddress,toAddress,methodName,args)
method
- ConvertVirtualAddressToContractAddress(virtualAddress)
method
- ConvertVirtualAddressToContractAddress(virtualAddress,contractAddress)
method
- ConvertVirtualAddressToContractAddressWithContractHashName(
- virtualAddress)
method
- ConvertVirtualAddressToContractAddressWithContractHashName(
- virtualAddress,contractAddress)
method
- DecryptMessage(senderPublicKey,cipherMessage)
method
- EncryptMessage(receiverPublicKey,plainMessage)
method
- FireLogEvent(logEvent)
method
- GenerateId(contractAddress,bytes)
method
- GetContractAddressByName(hash)
method
- GetPreviousBlockTransactions()
method
- GetSystemContractNameToAddressMapping()
method
- GetZeroSmartContractAddress()
method
- GetZeroSmartContractAddress(chainId)
method
- LogDebug(func)
method
- RecoverPublicKey()
method
- SendInline(toAddress,methodName,args)
method
- SendVirtualInline(fromVirtualAddress,toAddress,methodName,args)
method
- SendVirtualInlineBySystemContract(fromVirtualAddress,toAddress,
- methodName,args)
method
- VerifySignature(tx)
method
- CSharpSmartContract
type
- Context
property
- State
property
- ContractState
type
- Int32State
type
- Int64State
type
- MappedState
type
- SingletonState
type
- SmartContractBridgeContextExtensions
type
- Call(context,address,methodName,message)
method
- Call(context,address,methodName,message)
method
- Call(context,fromAddress,toAddress,methodName,message)
method
- Call(context,address,methodName,message)
method
- ConvertToByteString(message)
method
- ConvertVirtualAddressToContractAddress(this,virtualAddress)
method
- ConvertVirtualAddressToContractAddressWithContractHashName(this,
- virtualAddress)
method
- Fire(context,eventData)
method
- GenerateId(this,bytes)
method
- GenerateId(this,token)
method
- GenerateId(this,token)
method
- GenerateId(this)
method
- GenerateId(this,address,token)
method
- SendInline(context,toAddress,methodName,message)
method
- SendInline(context,toAddress,methodName,message)
method
- SendVirtualInline(context,fromVirtualAddress,toAddress,methodName,
- message)
method
- SendVirtualInline(context,fromVirtualAddress,toAddress,methodName,
- message)
method
- SmartContractConstants
type
- StringState
type
- UInt32State
type
- UInt64State
type
- BoolState
- Contents
- AElf.CSharp.Core
- Contents
- Builder
type
- ctor()
constructor
- AddMethod``2(method,handler)
method
- Build()
method
- EncodingHelper
type
- EncodeUtf8(str)
method
- IMethod
type
- FullName
property
- Name
property
- ServiceName
property
- Type
property
- Marshaller
type
- ctor(serializer,deserializer)
constructor
- Deserializer
property
- Serializer
property
- Marshallers
type
- StringMarshaller
property
- Create()
method
- MethodType
type
- Action
constants
- View
constants
- Method
type
- ctor(type,serviceName,name,requestMarshaller,responseMarshaller)
constructor
- FullName
property
- Name
property
- RequestMarshaller
property
- ResponseMarshaller
property
- ServiceName
property
- Type
property
- GetFullName()
method
- Preconditions
type
- CheckNotNull(reference)
method
- CheckNotNull(reference,paramName)
method
- SafeMath
type
- ServerServiceDefinition
type
- BindService()
method
- CreateBuilder()
method
- ServiceBinderBase
type
- AddMethod(method,handler)
method
- TimestampExtensions
type
- AddDays(timestamp,days)
method
- AddHours(timestamp,hours)
method
- AddMilliseconds(timestamp,milliseconds)
method
- AddMinutes(timestamp,minutes)
method
- AddSeconds(timestamp,seconds)
method
- Max(timestamp1,timestamp2)
method
- Milliseconds(duration)
method
- UnaryServerMethod
type
- Builder
- Contents
- AElf.SDK.CSharp
- Smart Contract API
- Association Contract
- Referendum Contract
- Parliament Contract
- Consensus Contract
- view methods
- GetCurrentMinerList
- GetCurrentMinerPubkeyList
- GetCurrentMinerListWithRoundNumber
- GetRoundInformation
- GetCurrentRoundNumber
- GetCurrentRoundInformation
- GetPreviousRoundInformation
- GetCurrentTermNumber
- GetCurrentWelfareReward
- GetPreviousMinerList
- GetMinedBlocksOfPreviousTerm
- GetNextMinerPubkey
- GetCurrentMinerPubkey
- IsCurrentMiner
- GetNextElectCountDown
- view methods
- Election Contract
- Actions
- View methods
- GetCandidates
- GetVotedCandidates
- GetCandidateInformation
- GetVictories
- GetTermSnapshot
- GetMinersCount
- GetElectionResult
- GetElectorVote
- GetElectorVoteWithRecords
- GetElectorVoteWithAllRecords
- GetCandidateVote
- GetCandidateVoteWithRecords
- GetCandidateVoteWithAllRecords
- GetVotersCount
- GetVotesAmount
- GetCurrentMiningReward
- GetPageableCandidateInformation
- GetMinerElectionVotingItemId
- GetDataCenterRankingList
- GetVoteWeightProportion
- GetCalculateVoteWeight
- Genesis Contract
- Actions
- DeploySystemSmartContract
- ProposeNewContract
- ProposeUpdateContract
- ProposeContractCodeCheck
- ReleaseApprovedContract
- ReleaseCodeCheckedContract
- DeploySmartContract
- UpdateSmartContract
- Initialize
- ChangeGenesisOwner
- SetContractProposerRequiredState
- ChangeContractDeploymentController
- ChangeCodeCheckController
- SetInitialControllerAddress
- GetContractDeploymentController
- GetCodeCheckController
- Views methods
- Actions
- Multi Token Contract
- Token life-cycle: creation, issuance and transfer
- Allowances
- Locking
- Burning tokens
- Cross-chain
- CrossChainCreateToken
- CrossChainTransfer
- CrossChainReceiveToken
- SetSymbolsToPayTxSizeFee
- UpdateCoefficientsForContract
- UpdateCoefficientsForSender
- AdvanceResourceToken
- TakeResourceTokenBack
- ValidateTokenInfoExists
- TransferToContract
- InitializeAuthorizedController
- ChangeUserFeeController
- ChangeDeveloperController
- View methods
- GetTokenInfo
- GetNativeTokenInfo
- GetResourceTokenInfo
- GetBalance
- GetAllowance
- IsInWhiteList
- GetLockedAmount
- GetCrossChainTransferTokenContractAddress
- GetPrimaryTokenSymbol
- GetCalculateFeeCoefficientOfContract
- GetCalculateFeeCoefficientOfSender
- GetSymbolsToPayTxSizeFee
- GetDeveloperFeeController
- GetUserFeeController
- GetSideChainRentalControllerCreateInfo
- GetResourceUsage
- GetOwningRental
- GetOwningRentalUnitValue
- Profit Contract
- Cross chain Contract
- Actions
- ProposeCrossChainIndexing
- ReleaseCrossChainIndexing
- Initialize
- RequestSideChainCreation
- ReleaseSideChainCreation
- CreateSideChain
- SetInitialSideChainLifetimeControllerAddress
- SetInitialIndexingControllerAddress
- ChangeCrossChainIndexingController
- ChangeSideChainLifetimeController
- ChangeSideChainIndexingFeeController
- Recharge
- RecordCrossChainData
- AdjustIndexingFeePrice
- DisposeSideChain
- View methods
- GetCrossChainIndexingController
- GetSideChainLifetimeController
- GetSideChainIndexingFeeController
- GetSideChainIndexingFeePrice
- VerifyTransaction
- LockedAddress
- GetChainStatus
- GetSideChainHeight
- GetParentChainHeight
- GetParentChainId
- GetSideChainBalance
- GetSideChainIndexingFeeDebt
- GetSideChainIdAndHeight
- GetSideChainIndexingInformationList
- GetAllChainsIdAndHeight
- GetIndexedSideChainBlockDataByHeight
- GetBoundParentChainHeightAndMerklePathByHeight
- GetChainInitializationData
- Actions
- Treasury Contract
- Vote Contract
- Token Holder Contract
- Economic Contract
- Token Convert Contract
- Configuration Contract
- Acs Introduction
- Acs1 - Transaction Fee Standard
- Acs2 - Parallel Execution Standard
- Acs3 - Contract Proposal Standard
- Acs4 - Consensus Standard
- Acs5 - Contract Threshold Standard
- Acs6 - Random number generation
- Acs7 - Cross Chain Standard
- Acs8 - Transaction Resource Token Fee Standard
- Acs9 - Contract Profit Dividend Standard
- Acs10 - Dividend Pool Standard
- Command-line Interface
- Introduction
- Commands
- Common options
- create - Create a new account
- load - Load an account by a given
private key
ormnemonic
- wallet - Show wallet details which include
private key
,address
,public key
andmnemonic
- proposal - Create a proposal
- deploy - Deploy a smart contract
- event - Deserialize the result return by executing a transaction
- send - Send a transaction
- call - Call a read-only method on a contract
- get-chain-status - Get the current status of the block chain
- get-tx-result - Get a transaction result
- get-blk-height - Get the block height
- get-blk-info - Get the block info by a block height or a block hash
- console - Open an interactive console
- dapp-server - Start a socket.io server for supplying services for dApps