WAX Unity Web3 Suite
EosSharp
EosSharp
  • Getting Started
  • Installation
  • Examples
    • Configuration
    • Create Transaction
    • CustomSignProvider
    • CombinedSignersProvider
  • API Docs
    • API Read Methods
      • GetInfo
      • GetAccount
      • GetBlock
      • GetTableRows
      • GetTableByScope
    • Eos
    • HttpHandler
    • Core
      • Api.v1
        • Abi
        • AbiAction
        • AbiBinToJsonRequest
        • AbiBinToJsonResponse
        • AbiField
        • AbiJsonToBinRequest
        • AbiJsonToBinResponse
        • AbiRicardianClause
        • AbiStruct
        • AbiTable
        • AbiType
        • Action
        • ActionTrace
        • ActivedProtocolFeatures
        • Authority
        • AuthorityAccount
        • AuthorityKey
        • AuthorityWait
        • BlockHeader
        • CurrencyStat
        • DetailedTransaction
        • EosApi
        • ExtendedAsset
        • Extension
        • GetAbiRequest
        • GetAbiResponse
        • GetAccountRequest
        • GetAccountResponse
        • GetActionsRequest
        • GetActionsResponse
        • GetBlockHeaderStateRequest
        • GetBlockHeaderStateResponse
        • GetBlockRequest
        • GetBlockResponse
        • GetCodeRequest
        • GetCodeResponse
        • GetControlledAccountsRequest
        • GetControlledAccountsResponse
        • GetCurrencyBalanceRequest
        • GetCurrencyBalanceResponse
        • GetCurrencyStatsRequest
        • GetCurrencyStatsResponse
        • GetInfoResponse
        • GetKeyAccountsRequest
        • GetKeyAccountsResponse
        • GetProducerScheduleResponse
        • GetProducersRequest
        • GetProducersResponse
        • GetRawAbiRequest
        • GetRawAbiResponse
        • GetRawCodeAndAbiRequest
        • GetRawCodeAndAbiResponse
        • GetRequiredKeysRequest
        • GetRequiredKeysResponse
        • GetScheduledTransactionsRequest
        • GetScheduledTransactionsResponse
        • GetTableByScopeRequest
        • GetTableByScopeResponse
        • GetTableRowsRequest
        • GetTableRowsResponse
        • GetTransactionRequest
        • GetTransactionResponse
        • GlobalAction
        • Merkle
        • PackedTransaction
        • Permission
        • PermissionLevel
        • ProcessedTransaction
        • Producer
        • PushTransactionRequest
        • PushTransactionResponse
        • Receipt
        • RefundRequest
        • Resource
        • Schedule
        • ScheduleProducers
        • ScheduledTransaction
        • SelfDelegatedBandwidth
        • SignedBlockHeader
        • Symbol
        • TableByScopeResultRow
        • TotalResources
        • Transaction
        • TransactionReceipt
        • Variant
        • VoterInfo
      • DataAttributes
        • AbiFieldTypeAttribute
      • EosBase
      • EosConfigurator
      • Exceptions
        • ApiError
        • ApiErrorDetail
        • ApiErrorException
        • ApiException
      • Helpers
        • CryptoHelper
          • KeyPair
        • SerializationHelper
      • Interfaces
        • IHttpHandler
        • ISignProvider
      • EosSharp
        • AbiSerializationProvider
        • CombinedSignersProvider
        • DefaultSignProvider
        • IAbiSerializationProvider
      • SignedTransaction
Powered by GitBook
On this page
  • Summary
  • Members
Edit on GitHub
  1. API Docs
  2. Core

EosBase

Client wrapper to interact with eos blockchains.

Summary

Members
Descriptions

Client wrapper constructor.

Query for blockchain information.

Query for account information.

Query for smart contract detailed information.

Query for smart contract abi detailed information.

Query for smart contract abi detailed information.

Query for smart contract raw wasm and abi information.

Transform action data to packed binary format.

Transform action data as packed binary format to object.

Calculate required keys to sign the given transaction.

Query for blockchain block information.

Query block head state information.

Query for blockchain smart contract table state information.

Query for blockchain smart contract table state information.

Query account balance for a given token.

Query token statistics.

Query producers information.

Query producers schedule.

Query scheduled transactions.

Creates a signed transaction using the signature provider and broadcasts it to the network.

Creates a signed transaction using the signature provider.

Broadcast signed transaction to the network.

Query for account actions log.

Query transaction information.

Query public key accounts.

Query controlled accounts by a given account.

Members

Client wrapper constructor.

Parameters

  • config Configures client parameters

  • httpHandler Http handler implementation

Query for blockchain information.

Returns

Blockchain information

Query for account information.

Parameters

  • accountName account to query information

Returns

account information

Query for smart contract detailed information.

Parameters

  • accountName smart contract account name

  • codeAsWasm query code as wasm, wast otherwise

Returns

smart contract information

Query for smart contract abi detailed information.

Parameters

  • accountName smart contract account name

Returns

Query for smart contract abi detailed information.

Parameters

  • accountName smart contract account name

  • abiHash TODO

Returns

smart contract abi information as Base64FcString

Query for smart contract raw wasm and abi information.

Parameters

  • accountName smart contract account name

Returns

smart contract wasm and abi information

Transform action data to packed binary format.

Parameters

  • code smart contract account name

  • action action name

  • data action

Returns

Transform action data as packed binary format to object.

Parameters

  • code

  • action

  • data

Returns

Calculate required keys to sign the given transaction.

Parameters

  • availableKeys available public keys list

  • trx transaction requiring signatures

Returns

required public keys

Query for blockchain block information.

Parameters

  • blockNumOrId block number or id to query information

Returns

block information

Query block head state information.

Parameters

  • blockNumOrId block number or id

Returns

TODO

Query for blockchain smart contract table state information.

Parameters

  • TRowType Type used for each row

Parameters

  • request.Json Request rows using json or raw format

  • request.Code accountName of the contract to search for table rows

  • request.Scope scope text segmenting the table set

  • request.Table table name

  • request.TableKey unused so far?

  • request.LowerBound lower bound for the selected index value

  • request.UpperBound upper bound for the selected index value

  • request.KeyType Type of the index choosen, ex: i64

  • request.IndexPosition 1 - primary(first), 2 - secondary index(in order defined by multi_index), 3 - third index, etc

Returns

Rows and if is there More rows to be fetched

Query for blockchain smart contract table state information.

Parameters

  • request.Json Request rows using json or raw format

  • request.Code accountName of the contract to search for table rows

  • request.Scope scope text segmenting the table set

  • request.Table table name

  • request.TableKey unused so far?

  • request.LowerBound lower bound for the selected index value

  • request.UpperBound upper bound for the selected index value

  • request.KeyType Type of the index choosen, ex: i64

  • request.IndexPosition 1 - primary(first), 2 - secondary index(in order defined by multi_index), 3 - third index, etc

Returns

Rows and if is there More rows to be fetched

Query account balance for a given token.

Parameters

  • code token smart contract account

  • account account name to check

  • symbol token symbol (optional)

Returns

token balances

Query token statistics.

Parameters

  • code token smart contract account

  • symbol token symbol (optional)

Returns

currencies statistics

Query producers information.

Parameters

  • request.json get list as json

  • request.lower_bound lower bound for the selected index value

  • request.limit limit the amount of results. Default 50

Returns

producers information

Query producers schedule.

Returns

Active, pending and proposed schedule

Query scheduled transactions.

Parameters

  • request.json get list as json

  • request.lower_bound lower bound for the selected index value

  • request.limit limit the amount of results. Default 50

Returns

Scheduled transactions

Creates a signed transaction using the signature provider and broadcasts it to the network.

Parameters

  • trx Transaction to send

  • requiredKeys Override required keys to sign transaction

Returns

transaction id

Creates a signed transaction using the signature provider.

Parameters

  • trx Transaction to sign

  • requiredKeys Override required keys to sign transaction

Returns

transaction id

Broadcast signed transaction to the network.

Parameters

  • strx Signed transaction to send

Returns

Query for account actions log.

Parameters

  • accountName account to query information

  • pos Absolute sequence positon -1 is the end/last action

  • offset Number of actions relative to pos, negative numbers return [pos-offset,pos), positive numbers return [pos,pos+offset)

Returns

Query transaction information.

Parameters

  • transactionId transaction id

Returns

Transaction information

Query public key accounts.

Parameters

  • publicKey public key

Returns

account names

Query controlled accounts by a given account.

Parameters

  • accountName account name to search

Returns

controlled account names

PreviousAbiFieldTypeAttributeNextEosConfigurator

Last updated 2 years ago

private

private

private

public ( config, httpHandler)

public Task< > ()

public Task< > (string accountName)

public Task< > (string accountName, bool codeAsWasm)

public async Task< > (string accountName)

public Task< > (string accountName, string abiHash)

public Task< > (string accountName)

public async Task< string > (string code, string action, object data)

public async Task< object > (string code, string action, string data)

public async Task< List< string > > (List< string > availableKeys, trx)

public Task< > (string blockNumOrId)

public Task< > (string blockNumOrId)

public async Task< < TRowType > > ( request)

public async Task< > ( request)

public async Task< List< string > > (string code, string account, string symbol)

public async Task< Dictionary< string, > > (string code, string symbol)

public async Task< > ( request)

public Task< > ()

public async Task< > ( request)

public async Task< string > ( trx, List< string > requiredKeys)

public async Task< > ( trx, List< string > requiredKeys)

public async Task< string > ( strx)

public Task< > (string accountName, Int32 pos, Int32 offset)

public Task< > (string transactionId, UInt32? blockNumberHint)

public async Task< List< string > > (string publicKey)

public async Task< List< string > > (string accountName)

private

private

private

public ( config, httpHandler)

public Task< > ()

public Task< > (string accountName)

public Task< > (string accountName, bool codeAsWasm)

public async Task< > (string accountName)

public Task< > (string accountName, string abiHash)

public Task< > (string accountName)

public async Task< string > (string code, string action, object data)

public async Task< object > (string code, string action, string data)

public async Task< List< string > > (List< string > availableKeys, trx)

public Task< > (string blockNumOrId)

public Task< > (string blockNumOrId)

public async Task< < TRowType > > ( request)

public async Task< > ( request)

public async Task< List< string > > (string code, string account, string symbol)

public async Task< Dictionary< string, > > (string code, string symbol)

public async Task< > ( request)

public Task< > ()

public async Task< > ( request)

public async Task< string > ( trx, List< string > requiredKeys)

public async Task< > ( trx, List< string > requiredKeys)

public async Task< string > ( strx)

public Task< > (string accountName, Int32 pos, Int32 offset)

public Task< > (string transactionId, UInt32? blockNumberHint)

public async Task< List< string > > (string publicKey)

public async Task< List< string > > (string accountName)

EosConfigurator
EosConfig
EosApi
Api
AbiSerializationProvider
AbiSerializer
EosConfigurator
IHttpHandler
EosBase
GetInfoResponse
GetInfo
GetAccountResponse
GetAccount
GetCodeResponse
GetCode
Abi
GetAbi
GetRawAbiResponse
GetRawAbi
GetRawCodeAndAbiResponse
GetRawCodeAndAbi
AbiJsonToBin
AbiBinToJson
Transaction
GetRequiredKeys
GetBlockResponse
GetBlock
GetBlockHeaderStateResponse
GetBlockHeaderState
GetTableRowsResponse
GetTableRowsRequest
GetTableRows< TRowType >
GetTableRowsResponse
GetTableRowsRequest
GetTableRows
GetCurrencyBalance
CurrencyStat
GetCurrencyStats
GetProducersResponse
GetProducersRequest
GetProducers
GetProducerScheduleResponse
GetProducerSchedule
GetScheduledTransactionsResponse
GetScheduledTransactionsRequest
GetScheduledTransactions
Transaction
CreateTransaction
SignedTransaction
Transaction
SignTransaction
SignedTransaction
BroadcastTransaction
GetActionsResponse
GetActions
GetTransactionResponse
GetTransaction
GetKeyAccounts
GetControlledAccounts
EosConfigurator
EosConfig
EosApi
Api
AbiSerializationProvider
AbiSerializer
EosConfigurator
IHttpHandler
EosBase
GetInfoResponse
GetInfo
GetAccountResponse
GetAccount
GetCodeResponse
GetCode
Abi
GetAbi
GetRawAbiResponse
GetRawAbi
GetRawCodeAndAbiResponse
GetRawCodeAndAbi
AbiJsonToBin
AbiBinToJson
Transaction
GetRequiredKeys
GetBlockResponse
GetBlock
GetBlockHeaderStateResponse
GetBlockHeaderState
GetTableRowsResponse
GetTableRowsRequest
GetTableRows< TRowType >
GetTableRowsResponse
GetTableRowsRequest
GetTableRows
GetCurrencyBalance
CurrencyStat
GetCurrencyStats
GetProducersResponse
GetProducersRequest
GetProducers
GetProducerScheduleResponse
GetProducerSchedule
GetScheduledTransactionsResponse
GetScheduledTransactionsRequest
GetScheduledTransactions
Transaction
CreateTransaction
SignedTransaction
Transaction
SignTransaction
SignedTransaction
BroadcastTransaction
GetActionsResponse
GetActions
GetTransactionResponse
GetTransaction
GetKeyAccounts
GetControlledAccounts