Documentation ¶
Index ¶
- func ChainAbiBinToJSON(abi *model.Abi) (*model.Abi, *errors.AppError)
- func ChainAbiJSONToBin(abiJSON *model.AbiJSON) (*model.Abi, *errors.AppError)
- func ChainGetAccount(accountName string) (*model.Account, *errors.AppError)
- func ChainGetBlock(blockNumOrId string) (*model.Block, *errors.AppError)
- func ChainGetCode(accountName string) (*model.Code, *errors.AppError)
- func ChainGetInfo() (*model.ChainInfo, *errors.AppError)
- func ChainGetRequiredKeys(trx *model.Transaction) ([]string, *errors.AppError)
- func ChainGetTableRows(scope string, code string, table string, toJSON bool, lowerBound int, ...) (*model.TableRows, *errors.AppError)
- func ChainPushTransaction(trx model.Transaction, pubKeys []string, chainId string) (*model.Transaction, *errors.AppError)
- func ContractNewAccount(creator string, accountName string, ownerKey string, activeKey string, ...) (*model.Transaction, *errors.AppError)
- func WalletCreate(name string) (string, *errors.AppError)
- func WalletCreateKey(name string, privKey string) *errors.AppError
- func WalletGetPublicKeys() ([]string, *errors.AppError)
- func WalletImportKey(name string, privKey string) *errors.AppError
- func WalletList() ([]string, []string, *errors.AppError)
- func WalletListKeys() ([][]string, *errors.AppError)
- func WalletLock(name string) *errors.AppError
- func WalletLockAll() *errors.AppError
- func WalletOpen(name string) *errors.AppError
- func WalletSetTimeout(seconds int64) *errors.AppError
- func WalletSignTransaction(trx model.Transaction, pubKeys []string, chainId string) (*model.Transaction, *errors.AppError)
- func WalletUnlock(name string, privKey string) *errors.AppError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainAbiJSONToBin ¶
func ChainGetRequiredKeys ¶
func ChainGetRequiredKeys(trx *model.Transaction) ([]string, *errors.AppError)
func ChainGetTableRows ¶
func ChainPushTransaction ¶
func ChainPushTransaction(trx model.Transaction, pubKeys []string, chainId string) (*model.Transaction, *errors.AppError)
func ContractNewAccount ¶
func WalletGetPublicKeys ¶
func WalletList ¶
return array of opened wallets, array of closed wallets
func WalletListKeys ¶
func WalletLock ¶
func WalletLockAll ¶
func WalletOpen ¶
func WalletSetTimeout ¶
func WalletSignTransaction ¶
func WalletSignTransaction(trx model.Transaction, pubKeys []string, chainId string) (*model.Transaction, *errors.AppError)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.