# Functions
BroadcastTransaction.
CreateAccount creates a new account.
CreateBridge.
CreateConnector.
CreateContract.
CreateNetwork creates a new network.
CreateOracle.
CreatePublicContract loads an already deployed contract into nchain for arbitrary transaction execution this can be used for org registries, erc20 etc.
CreateTokenContract.
CreateTransaction.
CreateWallet.
DeleteConnector.
ExecuteContract.
GetAccountBalance.
GetAccountDetails.
GetBridgeDetails.
GetConnectorDetails.
GetContractDetails.
GetNetworkContractDetails.
GetNetworkDetails returns the details for the specified network id.
GetNetworkStatusMeta returns the status details for the specified network.
GetNetworkTransactionDetails.
GetOracleDetails.
GetTokenContractDetails.
GetTransactionDetails.
GetWalletDetails.
InitNChainService convenience method to initialize an `nchain.Service` instance.
ListAccounts.
ListBridges.
ListConnectors.
ListContracts.
ListNetworkAccounts.
ListNetworkBlocks.
ListNetworkBridges.
ListNetworkConnectors.
ListNetworkContracts.
ListNetworkOracles.
ListNetworks.
ListNetworkTokens.
ListNetworkTransactions.
ListOracles.
ListTokenContracts.
ListTransactions.
ListWalletAccounts.
ListWallets.
NewTxValue is a convenience method to return a TxValue.
UpdateNetwork updates an existing network.
VendContractSubscriptionToken.
# Structs
Account contains the specific account user details.
BaseledgerBlockHeader.
CompiledArtifact represents compiled sourcecode.
Connector instances represent a logical connection to IPFS or other decentralized filesystem; in the future it may represent a logical connection to services of other types.
ConnectorDetails is a generic representation for a type-specific enrichment of a described connector; the details object may have complexity of its own, such as paginated subresults.
Contract instances must be associated with an application identifier.
ContractExecutionResponse is a response from the contract execution call.
EthereumJsonRpcResponse is a generic handler for ethereum JSON-RPC responses.
EthereumJsonRpcResponseError is a generic error representation for ethereum JSON-RPC responses.
EthereumTxTraceResponse is returned upon successful contract execution.
EthereumWebsocketSubscriptionResponse is a generic handler for ethereum websocket subscription responses.
Network contains the specific Ethereum network details (mainnet, etc.).
NetworkLogEvent is a network-agnostic log event.
NetworkStatus provides network-agnostic status.
Oracle instances are smart contracts whose terms are fulfilled writing data from a configured feed onto the blockchain.
RPCResponse represents a generic json-rpc response.
Service for the nchain api.
TendermintBlock represents a tendermint full block rpc response.
TendermintBlockHeader represents a tendermint block header rpc response.
TendermintTx represents a tendermint transaction rpc response.
Token contract.
Transaction instances are associated with a signing wallet and exactly one matching instance of either an a) application identifier or b) user identifier.
TxReceipt is generalized transaction receipt model.
TxTrace is generalized transaction trace model.
TxValue provides JSON marshaling and gorm driver support for wrapping/unwrapping big.Int.
Wallet contains the specific wallet details.