Welcome to TTCHAIN’s documentation!¶
- Basic interface
- Access wallet login function through rpc request
- Display the version number and the relevant information of the client
- Get the current blockchain and wallet basic data
- Verify whether the input public key is valid
- Temporarily set the login user name for rpc
- Temporary settings rpc login user password
- Temporarily start the client rpc mode
- Update NTP time
- Displays the hard disk space occupied by the current data
- Gets all the detailed transaction information for the specified block
- Gets the account details for the specified account name or ID
- Query blockchain information and parameters
- Returns a snapshot of the current underlying asset allocation
- Returns whether or not the local block chain has been synchronized with the network
- Query block number
- Gets the balance record under the specified balance_id
- List the balance that is owned by the specified public key
- Return current trustee information of current round in the order of the signed blocks
- Returns the registered account name, starting with the specified account name until the maximum number of available limits
- Returns a transaction list message that has not yet been taken into the block
- Get a detailed transaction on a block chain transfer
- Query the details of the specified delegate agent
- Returns the details of the specified range of blocks
- Query who is the signature agent for the specified block
- Add or remove a node’s connection
- Gets the current number of nodes for the node
- Returns the information of each node that has been connected
- Get the current network information
- Gets a list of potential connection points
- Query UPNP basic information
- Create a wallet with the specified name
- Get wallet information
- If the current wallet is open to close it
- Open the wallet with the specified name
- Unlock the private key in the wallet to enable the payment operation
- Import the private key into the local wallet and return the actual account it imported
- Export the current wallet data as a JSON file
- Use the backup JSON file to create (restore) a new wallet
- Set the wallet to open the automatic backup function and return to the state after the set
- Set the Transaction expiration time and return the expiration time after the setting
- List the transaction history of the specified account
- Check the transaction history according to the entry account
- Get all error records in the current pending area
- Modify password
- Determine if the password is correct
- Determine if an address is legal
- Create an account
- Set support account
- Transfer to an address
- Transfer to an account
- Rescan the block to extract the relevant transactions to the wallet
- Cancel scanning the current block
- Query transaction information
- Account registration
- Check all relevant account information in the wallet
- Check all unregistered accounts in wallet
- List all accounts that has private key in wallet
- Get the address of a local wallet or register an account in the chain
- Rename an unregistered account
- Get the specified account balance
- Lists all the balance record ids for the specified account
- The interface that trustee receives the transfer salary
- The query of trustee salary
- Gets the state of the broker in the wallet
- Delete your local wallet account
- Set local transfer fee
- Obtain current local transfer fee
- Set the local wallet to enable scanning
- Obtain the private key according to the address of the local owned account or public key
- The production of a block is enabled or disabled for a specific trustee account
- Get specify private key of account from local wallet
- To specify the block by block number or ID, and obtain the header information of its block
- Get the proxy setting parameters
- Sets the minimum number of connections needed for the current broker
- Sets the maximum number of transactions for the current broker
- The maximum value of a block set by the agent property
- The proxy property sets the maximum size of a transaction
- Set the minimum transaction fee that the agent acknowledges
- Broadcast a transaction
- Get block number and result_trx_id of a transacion
- Get result from a contract transaction emit
- Test for calling a contract function emit locally, which won’t cost any TTC
- Return Transaction Infomation after signing
- Contract Related
- Compile a contract
- Register a contract on the chain
- Register a contract testing
- Upgrade a contract on the chain
- Upgrading contract testing
- Delete a contract on the chain
- Delete a contract testing
- Call a contract on the chain
- Call a contract testing
- Transfer to a contract on the chain
- Transfer to a contract testing
- Query contract information
- Query contract balance
- Open/close the local interpreter
- Gets switch whether to open the local interpreter validation
- Export the contract to the file
- Get the contract result trading hash
- Get contract address according to the original transaction hash that created the contract
- Get the original transaction hash that created the contract according to contract address
- Get all contract information on the chain
- Get all the permanent contract information on the chain
- Get the contract information for the account in wallet
- Scan the contract information for all accounts in wallet
- Sandbox
- Open Sandbox
- Close Sandbox
- Compile a contract in sandbox
- Register a contract in sandbox (sandbox)
- Register a contract in sandbox: (sandbox testing)
- Call a contract in sandbox (sandbox)
- Call a contract in sandbox (sandbox testing)
- Upgrade contract in sandbox (sandbox)
- Upgrade a contract in sandbox (sandbox testing)
- Delete a contract in sandbox(sandbox)
- Delete a contract in sandbox (sandbox testing)
- Transfer to contract in sandbox (sandbox)
- Transfer to contract in sandbox (sandbox testing)
- Query a contract info in sandbox
- Query the balance of a contract in sandbox
- Query the balance of a contract in sandbox
- Local Script
- Compile local script
- Search Specified Local Script Information
- List all the local scripts in wallet
- Add New Local Script
- Delet Local Script
- Disable A Local Script
- Enable A Local Script
- Query the local script associated with the Event in the contract
- Add a related local script to the Event in the contract
- Remove a related local script from the Event in the contract
- Export the local script library and the relationship library with the Event
- Import the local script library and the relationship library with the Event
- Query the script binding contract and event according to script id
- RPC Tutorial