# EosBase

Client wrapper to interact with eos blockchains.

## Summary

| Members                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Descriptions                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `private` [`EosConfigurator`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-eosconfigurator) [`EosConfig`](#class_eos_sharp_1_1_core_1_1_eos_base_1a610322e9d2996625cbc5b3ea4b8e8282)                                                                                                                                                                                                                                                                                                         |                                                                                             |
| `private` [`EosApi`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-eosapi) [`Api`](#class_eos_sharp_1_1_core_1_1_eos_base_1a009709c7ea681d63e553e0757b6aad98)                                                                                                                                                                                                                                                                                                     |                                                                                             |
| `private` [`AbiSerializationProvider`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-providers/eossharp-core-providers-abiserializationprovider) [`AbiSerializer`](#class_eos_sharp_1_1_core_1_1_eos_base_1acfb4be3fc5a3b9cf05ada59b13edc24f)                                                                                                                                                                                                                                                 |                                                                                             |
| `public` [`EosBase`](#class_eos_sharp_1_1_core_1_1_eos_base_1aecc38b4d372a32d1cf559121070ee1f4)`(` [`EosConfigurator`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-eosconfigurator)`config,` [`IHttpHandler`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-interfaces) `httpHandler)`                                                                                                                                                      | Client wrapper constructor.                                                                 |
| `public Task<` [`GetInfoResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getinforesponse)`>` [`GetInfo`](#class_eos_sharp_1_1_core_1_1_eos_base_1ab2524ac74c8d04f77b910017c0212990)`()`                                                                                                                                                                                                                                                                   | Query for blockchain information.                                                           |
| `public Task<` [`GetAccountResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getaccountresponse)`>` [`GetAccount`](#class_eos_sharp_1_1_core_1_1_eos_base_1a36124e5736b861840a4dd2938bf5f316)`(string accountName)`                                                                                                                                                                                                                                        | Query for account information.                                                              |
| `public Task<` [`GetCodeResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getcoderesponse)`>` [`GetCode`](#class_eos_sharp_1_1_core_1_1_eos_base_1a56a5565474e03177b58c6e5c2fbd3cf0)`(string accountName, bool codeAsWasm)`                                                                                                                                                                                                                                | Query for smart contract detailed information.                                              |
| `public async Task<` [`Abi`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-abi)`>` [`GetAbi`](#class_eos_sharp_1_1_core_1_1_eos_base_1a69f73da1f3f4f682df4ee5c282003f21)`(string accountName)`                                                                                                                                                                                                                                                                    | Query for smart contract abi detailed information.                                          |
| `public Task<` [`GetRawAbiResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getrawabiresponse)`>` [`GetRawAbi`](#class_eos_sharp_1_1_core_1_1_eos_base_1a02785a00fcc7152436e907c8a7a0bcd1)`(string accountName, string abiHash)`                                                                                                                                                                                                                           | Query for smart contract abi detailed information.                                          |
| `public Task<` [`GetRawCodeAndAbiResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getrawcodeandabiresponse)`>` [`GetRawCodeAndAbi`](#class_eos_sharp_1_1_core_1_1_eos_base_1a3122939080875e53197ca4d050ba69ed)`(string accountName)`                                                                                                                                                                                                                      | Query for smart contract raw wasm and abi information.                                      |
| `public async Task< string >` [`AbiJsonToBin`](#class_eos_sharp_1_1_core_1_1_eos_base_1ac23b22d58818380f9326f31663263ac4)`(string code, string action, object data)`                                                                                                                                                                                                                                                                                                                                                                          | Transform action data to packed binary format.                                              |
| `public async Task< object >` [`AbiBinToJson`](#class_eos_sharp_1_1_core_1_1_eos_base_1a320437d8b70791ea043f2df7f2c53c03)`(string code, string action, string data)`                                                                                                                                                                                                                                                                                                                                                                          | Transform action data as packed binary format to object.                                    |
| `public async Task< List< string > >` [`GetRequiredKeys`](#class_eos_sharp_1_1_core_1_1_eos_base_1a165136927ecaf4c3c1e8d533f1ad306d)`(List< string > availableKeys,` [`Transaction`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) `trx)`                                                                                                                                                                                                            | Calculate required keys to sign the given transaction.                                      |
| `public Task<` [`GetBlockResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getblockresponse)`>` [`GetBlock`](#class_eos_sharp_1_1_core_1_1_eos_base_1a120c6ca41fc30e7d451888062e6127fb)`(string blockNumOrId)`                                                                                                                                                                                                                                             | Query for blockchain block information.                                                     |
| `public Task<` [`GetBlockHeaderStateResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getblockheaderstateresponse)`>` [`GetBlockHeaderState`](#class_eos_sharp_1_1_core_1_1_eos_base_1ab659874032737dabf3262f1ca2589785)`(string blockNumOrId)`                                                                                                                                                                                                            | Query block head state information.                                                         |
| `public async Task<` [`GetTableRowsResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsresponse)`< TRowType > >` [`GetTableRows< TRowType >`](#class_eos_sharp_1_1_core_1_1_eos_base_1a8e54b848c3d6b9de5531483dc9c7b7b3)`(` [`GetTableRowsRequest`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsrequest) `request)`                                    | Query for blockchain smart contract table state information.                                |
| `public async Task<` [`GetTableRowsResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsresponse)`>` [`GetTableRows`](#class_eos_sharp_1_1_core_1_1_eos_base_1ae51f7c49f844a474176bfb25f07a1e30)`(` [`GetTableRowsRequest`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsrequest) `request)`                                                             | Query for blockchain smart contract table state information.                                |
| `public async Task< List< string > >` [`GetCurrencyBalance`](#class_eos_sharp_1_1_core_1_1_eos_base_1a02335810374ecd58e5606cca40049186)`(string code, string account, string symbol)`                                                                                                                                                                                                                                                                                                                                                         | Query account balance for a given token.                                                    |
| `public async Task< Dictionary< string,` [`CurrencyStat`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-currencystat)`> >` [`GetCurrencyStats`](#class_eos_sharp_1_1_core_1_1_eos_base_1a62d6b188acf6bbd2713e499ea00f2081)`(string code, string symbol)`                                                                                                                                                                                                          | Query token statistics.                                                                     |
| `public async Task<` [`GetProducersResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducersresponse)`>` [`GetProducers`](#class_eos_sharp_1_1_core_1_1_eos_base_1aced3d6f82fe581da8eb783cf9bf7d267)`(` [`GetProducersRequest`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducersrequest) `request)`                                                             | Query producers information.                                                                |
| `public Task<` [`GetProducerScheduleResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducerscheduleresponse)`>` [`GetProducerSchedule`](#class_eos_sharp_1_1_core_1_1_eos_base_1afcccbcb2c4f8c39ce89a081db39e372a)`()`                                                                                                                                                                                                                               | Query producers schedule.                                                                   |
| `public async Task<` [`GetScheduledTransactionsResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getscheduledtransactionsresponse)`>` [`GetScheduledTransactions`](#class_eos_sharp_1_1_core_1_1_eos_base_1a5865fc6d9540c5204af687cd6a4878f5)`(` [`GetScheduledTransactionsRequest`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getscheduledtransactionsrequest) `request)` | Query scheduled transactions.                                                               |
| `public async Task< string >` [`CreateTransaction`](#class_eos_sharp_1_1_core_1_1_eos_base_1acaabbb4670c2779fc9f009e50fdc4ad4)`(` [`Transaction`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) `trx, List< string > requiredKeys)`                                                                                                                                                                                                                  | Creates a signed transaction using the signature provider and broadcasts it to the network. |
| `public async Task<` [`SignedTransaction`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-signedtransaction)`>` [`SignTransaction`](#class_eos_sharp_1_1_core_1_1_eos_base_1acb01e94f7d13631730aa8e1bea115c1a)`(` [`Transaction`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) `trx, List< string > requiredKeys)`                                                                                   | Creates a signed transaction using the signature provider.                                  |
| `public async Task< string >` [`BroadcastTransaction`](#class_eos_sharp_1_1_core_1_1_eos_base_1aeb354dd36b81b44501dfd198e5ec6316)`(` [`SignedTransaction`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-signedtransaction) `strx)`                                                                                                                                                                                                                                                           | Broadcast signed transaction to the network.                                                |
| `public Task<` [`GetActionsResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getactionsresponse)`>` [`GetActions`](#class_eos_sharp_1_1_core_1_1_eos_base_1aa5ac98fd11b1554d9de72534e5860e31)`(string accountName, Int32 pos, Int32 offset)`                                                                                                                                                                                                               | Query for account actions log.                                                              |
| `public Task<` [`GetTransactionResponse`](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettransactionresponse)`>` [`GetTransaction`](#class_eos_sharp_1_1_core_1_1_eos_base_1a719b040ac427c7cacd65ff67f66279f9)`(string transactionId, UInt32? blockNumberHint)`                                                                                                                                                                                                 | Query transaction information.                                                              |
| `public async Task< List< string > >` [`GetKeyAccounts`](#class_eos_sharp_1_1_core_1_1_eos_base_1a299509fb41993013eb49c38341e3cebc)`(string publicKey)`                                                                                                                                                                                                                                                                                                                                                                                       | Query public key accounts.                                                                  |
| `public async Task< List< string > >` [`GetControlledAccounts`](#class_eos_sharp_1_1_core_1_1_eos_base_1a8174c1396340fe8f56749fd0e1a67284)`(string accountName)`                                                                                                                                                                                                                                                                                                                                                                              | Query controlled accounts by a given account.                                               |

## Members

**`private`** [**`EosConfigurator`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-eosconfigurator) [**`EosConfig`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a610322e9d2996625cbc5b3ea4b8e8282)

**`private`** [**`EosApi`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-eosapi) [**`Api`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a009709c7ea681d63e553e0757b6aad98)

**`private`** [**`AbiSerializationProvider`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-providers/eossharp-core-providers-abiserializationprovider) [**`AbiSerializer`**](#class_eos_sharp_1_1_core_1_1_eos_base_1acfb4be3fc5a3b9cf05ada59b13edc24f)

**`public`** [**`EosBase`**](#class_eos_sharp_1_1_core_1_1_eos_base_1aecc38b4d372a32d1cf559121070ee1f4)**`(`** [**`EosConfigurator`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-eosconfigurator)**`config,`** [**`IHttpHandler`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-interfaces) **`httpHandler)`**

Client wrapper constructor.

#### Parameters

* `config` Configures client parameters
* `httpHandler` Http handler implementation

**`public Task<`** [**`GetInfoResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getinforesponse)**`>`** [**`GetInfo`**](#class_eos_sharp_1_1_core_1_1_eos_base_1ab2524ac74c8d04f77b910017c0212990)**`()`**

Query for blockchain information.

#### Returns

Blockchain information

**`public Task<`** [**`GetAccountResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getaccountresponse)**`>`** [**`GetAccount`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a36124e5736b861840a4dd2938bf5f316)**`(string accountName)`**

Query for account information.

#### Parameters

* `accountName` account to query information

#### Returns

account information

**`public Task<`** [**`GetCodeResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getcoderesponse)**`>`** [**`GetCode`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a56a5565474e03177b58c6e5c2fbd3cf0)**`(string accountName, bool codeAsWasm)`**

Query for smart contract detailed information.

#### Parameters

* `accountName` smart contract account name
* `codeAsWasm` query code as wasm, wast otherwise

#### Returns

smart contract information

**`public async Task<`** [**`Abi`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-abi)**`>`** [**`GetAbi`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a69f73da1f3f4f682df4ee5c282003f21)**`(string accountName)`**

Query for smart contract abi detailed information.

#### Parameters

* `accountName` smart contract account name

#### Returns

**`public Task<`** [**`GetRawAbiResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getrawabiresponse)**`>`** [**`GetRawAbi`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a02785a00fcc7152436e907c8a7a0bcd1)**`(string accountName, string abiHash)`**

Query for smart contract abi detailed information.

#### Parameters

* `accountName` smart contract account name
* `abiHash` TODO

#### Returns

smart contract abi information as Base64FcString

**`public Task<`** [**`GetRawCodeAndAbiResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getrawcodeandabiresponse)**`>`** [**`GetRawCodeAndAbi`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a3122939080875e53197ca4d050ba69ed)**`(string accountName)`**

Query for smart contract raw wasm and abi information.

#### Parameters

* `accountName` smart contract account name

#### Returns

smart contract wasm and abi information

**`public async Task< string >`** [**`AbiJsonToBin`**](#class_eos_sharp_1_1_core_1_1_eos_base_1ac23b22d58818380f9326f31663263ac4)**`(string code, string action, object data)`**

Transform action data to packed binary format.

#### Parameters

* `code` smart contract account name
* `action` action name
* `data` action

#### Returns

**`public async Task< object >`** [**`AbiBinToJson`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a320437d8b70791ea043f2df7f2c53c03)**`(string code, string action, string data)`**

Transform action data as packed binary format to object.

#### Parameters

* `code`
* `action`
* `data`

#### Returns

**`public async Task< List< string > >`** [**`GetRequiredKeys`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a165136927ecaf4c3c1e8d533f1ad306d)**`(List< string > availableKeys,`** [**`Transaction`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) **`trx)`**

Calculate required keys to sign the given transaction.

#### Parameters

* `availableKeys` available public keys list
* `trx` transaction requiring signatures

#### Returns

required public keys

**`public Task<`** [**`GetBlockResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getblockresponse)**`>`** [**`GetBlock`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a120c6ca41fc30e7d451888062e6127fb)**`(string blockNumOrId)`**

Query for blockchain block information.

#### Parameters

* `blockNumOrId` block number or id to query information

#### Returns

block information

**`public Task<`** [**`GetBlockHeaderStateResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getblockheaderstateresponse)**`>`** [**`GetBlockHeaderState`**](#class_eos_sharp_1_1_core_1_1_eos_base_1ab659874032737dabf3262f1ca2589785)**`(string blockNumOrId)`**

Query block head state information.

#### Parameters

* `blockNumOrId` block number or id

#### Returns

TODO

**`public async Task<`** [**`GetTableRowsResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsresponse)**`< TRowType > >`** [**`GetTableRows< TRowType >`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a8e54b848c3d6b9de5531483dc9c7b7b3)**`(`** [**`GetTableRowsRequest`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsrequest) **`request)`**

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

**`public async Task<`** [**`GetTableRowsResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsresponse)**`>`** [**`GetTableRows`**](#class_eos_sharp_1_1_core_1_1_eos_base_1ae51f7c49f844a474176bfb25f07a1e30)**`(`** [**`GetTableRowsRequest`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettablerowsrequest) **`request)`**

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

**`public async Task< List< string > >`** [**`GetCurrencyBalance`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a02335810374ecd58e5606cca40049186)**`(string code, string account, string symbol)`**

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

**`public async Task< Dictionary< string,`** [**`CurrencyStat`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-currencystat)**`> >`** [**`GetCurrencyStats`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a62d6b188acf6bbd2713e499ea00f2081)**`(string code, string symbol)`**

Query token statistics.

#### Parameters

* `code` token smart contract account
* `symbol` token symbol (optional)

#### Returns

currencies statistics

**`public async Task<`** [**`GetProducersResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducersresponse)**`>`** [**`GetProducers`**](#class_eos_sharp_1_1_core_1_1_eos_base_1aced3d6f82fe581da8eb783cf9bf7d267)**`(`** [**`GetProducersRequest`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducersrequest) **`request)`**

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

**`public Task<`** [**`GetProducerScheduleResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getproducerscheduleresponse)**`>`** [**`GetProducerSchedule`**](#class_eos_sharp_1_1_core_1_1_eos_base_1afcccbcb2c4f8c39ce89a081db39e372a)**`()`**

Query producers schedule.

#### Returns

Active, pending and proposed schedule

**`public async Task<`** [**`GetScheduledTransactionsResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getscheduledtransactionsresponse)**`>`** [**`GetScheduledTransactions`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a5865fc6d9540c5204af687cd6a4878f5)**`(`** [**`GetScheduledTransactionsRequest`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getscheduledtransactionsrequest) **`request)`**

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

**`public async Task< string >`** [**`CreateTransaction`**](#class_eos_sharp_1_1_core_1_1_eos_base_1acaabbb4670c2779fc9f009e50fdc4ad4)**`(`** [**`Transaction`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) **`trx, List< string > requiredKeys)`**

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

**`public async Task<`** [**`SignedTransaction`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-signedtransaction)**`>`** [**`SignTransaction`**](#class_eos_sharp_1_1_core_1_1_eos_base_1acb01e94f7d13631730aa8e1bea115c1a)**`(`** [**`Transaction`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-transaction) **`trx, List< string > requiredKeys)`**

Creates a signed transaction using the signature provider.

#### Parameters

* `trx` Transaction to sign
* `requiredKeys` Override required keys to sign transaction

#### Returns

transaction id

**`public async Task< string >`** [**`BroadcastTransaction`**](#class_eos_sharp_1_1_core_1_1_eos_base_1aeb354dd36b81b44501dfd198e5ec6316)**`(`** [**`SignedTransaction`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-signedtransaction) **`strx)`**

Broadcast signed transaction to the network.

#### Parameters

* `strx` Signed transaction to send

#### Returns

**`public Task<`** [**`GetActionsResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-getactionsresponse)**`>`** [**`GetActions`**](#class_eos_sharp_1_1_core_1_1_eos_base_1aa5ac98fd11b1554d9de72534e5860e31)**`(string accountName, Int32 pos, Int32 offset)`**

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

**`public Task<`** [**`GetTransactionResponse`**](https://liquiidio.gitbook.io/unity-plugin-suite/eossharp/api-docs/eossharp-core/eossharp-core-api-v1/eossharp-core-api-v1-gettransactionresponse)**`>`** [**`GetTransaction`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a719b040ac427c7cacd65ff67f66279f9)**`(string transactionId, UInt32? blockNumberHint)`**

Query transaction information.

#### Parameters

* `transactionId` transaction id

#### Returns

Transaction information

**`public async Task< List< string > >`** [**`GetKeyAccounts`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a299509fb41993013eb49c38341e3cebc)**`(string publicKey)`**

Query public key accounts.

#### Parameters

* `publicKey` public key

#### Returns

account names

**`public async Task< List< string > >`** [**`GetControlledAccounts`**](#class_eos_sharp_1_1_core_1_1_eos_base_1a8174c1396340fe8f56749fd0e1a67284)**`(string accountName)`**

Query controlled accounts by a given account.

#### Parameters

* `accountName` account name to search

#### Returns

controlled account names
