diff --git a/packages/massa-web3/open_rpc/massa.api.json b/packages/massa-web3/open_rpc/massa.api.json index 2894d74b..4f3347ba 100644 --- a/packages/massa-web3/open_rpc/massa.api.json +++ b/packages/massa-web3/open_rpc/massa.api.json @@ -3142,7 +3142,7 @@ "type": "array", "items": { "format": "byte", - "type": "string" + "type": "number" } }, "Error": { diff --git a/packages/massa-web3/src/experimental/client/publicAPI.ts b/packages/massa-web3/src/experimental/client/publicAPI.ts index a10ed26f..fdea3c7e 100644 --- a/packages/massa-web3/src/experimental/client/publicAPI.ts +++ b/packages/massa-web3/src/experimental/client/publicAPI.ts @@ -93,7 +93,7 @@ export class PublicAPI { target_function: params.func, parameter: params.parameter ? Array.from(params.parameter) : [], caller_address: params.caller.toString(), - coins: params.coins ? Mas.toString(params.coins) : null, + coins: params.coins ? params.coins.toString() : null, fee: params.fee ? Mas.toString(params.fee) : null, }, ]) @@ -103,8 +103,7 @@ export class PublicAPI { } return { - // @ts-expect-error - wrong type returned by the API interface - value: new Uint8Array(res.result.Ok), + value: new Uint8Array(res.result.Ok || []), info: { gasCost: res.gas_cost, error: res.result.Error, diff --git a/packages/massa-web3/src/experimental/generated/client.ts b/packages/massa-web3/src/experimental/generated/client.ts index ee8c08bc..178b1358 100644 --- a/packages/massa-web3/src/experimental/generated/client.ts +++ b/packages/massa-web3/src/experimental/generated/client.ts @@ -234,13 +234,13 @@ export interface ExecuteAt { period: NumberHo1ClIqD; thread: NumberHo1ClIqD; } -export type StringUJarsTOs = string; +export type NumberENj1NJhv = number; /** * * Included in case of success. The result of the execution * */ -export type UnorderedSetOfStringUJarsTOsgviiNMvH = StringUJarsTOs[]; +export type UnorderedSetOfNumberENj1NJhvPrMsSGVf = NumberENj1NJhv[]; /** * * Included in case of error. The error message @@ -253,7 +253,7 @@ export type StringOz2F8Z2Y = string; * */ export interface ReadOnlyResult { - Ok?: UnorderedSetOfStringUJarsTOsgviiNMvH; + Ok?: UnorderedSetOfNumberENj1NJhvPrMsSGVf; Error?: StringOz2F8Z2Y; } /** @@ -503,6 +503,7 @@ export interface AddressInfo { created_endorsements: UnorderedSetOfEndorsementIdNN27ZC1J; cycle_infos: UnorderedSetOfExecutionAddressCycleInfo8D3STgcL; } +export type StringUJarsTOs = string; /** * * true if final @@ -1334,7 +1335,7 @@ export type UnorderedSetOfOperationInput9XcIbRG1 = OperationInput[]; export interface ApiRequest { page_request?: Pagination; } -export type UnorderedSetOfExecuteReadOnlyResponseSy0Ch3Re = ExecuteReadOnlyResponse[]; +export type UnorderedSetOfExecuteReadOnlyResponse8BobB0Br = ExecuteReadOnlyResponse[]; export type UnorderedSetOfAddressInfoCm3Tm6FQ = AddressInfo[]; export type UnorderedSetOfStringUJarsTOsGY6FcFnU = StringUJarsTOs[]; export type UnorderedSetOfBlockInfoYE0DVFoI = BlockInfo[]; @@ -1398,9 +1399,9 @@ export interface FilledBlockInfo { * Generated! Represents an alias to any of the provided schemas * */ -export type AnyOfUnorderedSetOfReadOnlyBytecodeExecutionK4Ht8ZdnUnorderedSetOfReadOnlyCallm6DMxyzdUnorderedSetOfAddressjJsnATCOUnorderedSetOfAddressFilteraFrapw7XUnorderedSetOfBlockIdZXK9XY8ASlotUnorderedSetOfDatastoreEntryInputBdlngHsZUnorderedSetOfSlotn0BdrHhhUnorderedSetOfStringDoaGddGADvj0XlFaEventFilterObjectOfNumberHo1ClIqDNumberHo1ClIqDTmeT75FqUnorderedSetOfStringDoaGddGADvj0XlFaPaginationUnorderedSetOfPrivateKeyG69QLiLPUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringDoaGddGADvj0XlFaUnorderedSetOfStringDoaGddGADvj0XlFaUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfAddressjJsnATCOStringUJarsTOsUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringOGpKXaCP4RgV7KAwUnorderedSetOfOperationInput9XcIbRG1ApiRequestInteger2AHOqbcQInteger2AHOqbcQInteger2AHOqbcQInteger2AHOqbcQUnorderedSetOfExecuteReadOnlyResponseSy0Ch3ReUnorderedSetOfExecuteReadOnlyResponseSy0Ch3ReUnorderedSetOfAddressInfoCm3Tm6FQUnorderedSetOfStringUJarsTOsGY6FcFnUUnorderedSetOfBlockInfoYE0DVFoIBlockUnorderedSetOfCliqueeS9LyMHxUnorderedSetOfDatastoreEntryOutputgFkmXHTzUnorderedSetOfUnorderedSetOfTransferQEyQHpyLoFgVJgXUUnorderedSetOfEndorsementInfoeYLhCU05UnorderedSetOfSCOutputEventHwhiOmzEUnorderedSetOfGraphIntervalnrFPkOrtUnorderedSetOfOperationInfoMdPofISEUnorderedSetOfStakerX7P278VSNodeStatusAlwaysFalseUnorderedSetOfAddressjJsnATCOAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseUnorderedSetOfIpAddressWpGgzO6MUnorderedSetOfIpAddressWpGgzO6MAlwaysFalseUnorderedSetOfIpAddressWpGgzO6MAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalsePubkeySigAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseUnorderedSetOfOperationId5TxbV4NZPagedVecStakerUnorderedSetOfBlockParentxrssVm84VersionBlockInfoWrappedHeaderFilledBlockInfoOperationBooleanVyG3AEThBooleanVyG3AEThBooleanVyG3AEThBooleanVyG3AETh = UnorderedSetOfReadOnlyBytecodeExecutionK4Ht8Zdn | UnorderedSetOfReadOnlyCallm6DMxyzd | UnorderedSetOfAddressjJsnATCO | UnorderedSetOfAddressFilteraFrapw7X | UnorderedSetOfBlockIdZXK9XY8A | Slot | UnorderedSetOfDatastoreEntryInputBdlngHsZ | UnorderedSetOfSlotn0BdrHhh | UnorderedSetOfStringDoaGddGADvj0XlFa | EventFilter | ObjectOfNumberHo1ClIqDNumberHo1ClIqDTmeT75Fq | Pagination | UnorderedSetOfPrivateKeyG69QLiLP | UnorderedSetOfStringBBdNk2Kup3WUWKiM | StringUJarsTOs | UnorderedSetOfStringOGpKXaCP4RgV7KAw | UnorderedSetOfOperationInput9XcIbRG1 | ApiRequest | Integer2AHOqbcQ | UnorderedSetOfExecuteReadOnlyResponseSy0Ch3Re | UnorderedSetOfAddressInfoCm3Tm6FQ | UnorderedSetOfStringUJarsTOsGY6FcFnU | UnorderedSetOfBlockInfoYE0DVFoI | Block | UnorderedSetOfCliqueeS9LyMHx | UnorderedSetOfDatastoreEntryOutputgFkmXHTz | UnorderedSetOfUnorderedSetOfTransferQEyQHpyLoFgVJgXU | UnorderedSetOfEndorsementInfoeYLhCU05 | UnorderedSetOfSCOutputEventHwhiOmzE | UnorderedSetOfGraphIntervalnrFPkOrt | UnorderedSetOfOperationInfoMdPofISE | UnorderedSetOfStakerX7P278VS | NodeStatus | AlwaysFalse | UnorderedSetOfIpAddressWpGgzO6M | PubkeySig | UnorderedSetOfOperationId5TxbV4NZ | PagedVecStaker | UnorderedSetOfBlockParentxrssVm84 | Version | BlockInfo | WrappedHeader | FilledBlockInfo | Operation | BooleanVyG3AETh; -export type ExecuteReadOnlyBytecode = (ReadOnlyBytecodeExecution: UnorderedSetOfReadOnlyBytecodeExecutionK4Ht8Zdn) => Promise; -export type ExecuteReadOnlyCall = (ReadOnlyCall: UnorderedSetOfReadOnlyCallm6DMxyzd) => Promise; +export type AnyOfUnorderedSetOfReadOnlyBytecodeExecutionK4Ht8ZdnUnorderedSetOfReadOnlyCallm6DMxyzdUnorderedSetOfAddressjJsnATCOUnorderedSetOfAddressFilteraFrapw7XUnorderedSetOfBlockIdZXK9XY8ASlotUnorderedSetOfDatastoreEntryInputBdlngHsZUnorderedSetOfSlotn0BdrHhhUnorderedSetOfStringDoaGddGADvj0XlFaEventFilterObjectOfNumberHo1ClIqDNumberHo1ClIqDTmeT75FqUnorderedSetOfStringDoaGddGADvj0XlFaPaginationUnorderedSetOfPrivateKeyG69QLiLPUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringDoaGddGADvj0XlFaUnorderedSetOfStringDoaGddGADvj0XlFaUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfAddressjJsnATCOStringUJarsTOsUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringBBdNk2Kup3WUWKiMUnorderedSetOfStringOGpKXaCP4RgV7KAwUnorderedSetOfOperationInput9XcIbRG1ApiRequestInteger2AHOqbcQInteger2AHOqbcQInteger2AHOqbcQInteger2AHOqbcQUnorderedSetOfExecuteReadOnlyResponse8BobB0BrUnorderedSetOfExecuteReadOnlyResponse8BobB0BrUnorderedSetOfAddressInfoCm3Tm6FQUnorderedSetOfStringUJarsTOsGY6FcFnUUnorderedSetOfBlockInfoYE0DVFoIBlockUnorderedSetOfCliqueeS9LyMHxUnorderedSetOfDatastoreEntryOutputgFkmXHTzUnorderedSetOfUnorderedSetOfTransferQEyQHpyLoFgVJgXUUnorderedSetOfEndorsementInfoeYLhCU05UnorderedSetOfSCOutputEventHwhiOmzEUnorderedSetOfGraphIntervalnrFPkOrtUnorderedSetOfOperationInfoMdPofISEUnorderedSetOfStakerX7P278VSNodeStatusAlwaysFalseUnorderedSetOfAddressjJsnATCOAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseUnorderedSetOfIpAddressWpGgzO6MUnorderedSetOfIpAddressWpGgzO6MAlwaysFalseUnorderedSetOfIpAddressWpGgzO6MAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalsePubkeySigAlwaysFalseAlwaysFalseAlwaysFalseAlwaysFalseUnorderedSetOfOperationId5TxbV4NZPagedVecStakerUnorderedSetOfBlockParentxrssVm84VersionBlockInfoWrappedHeaderFilledBlockInfoOperationBooleanVyG3AEThBooleanVyG3AEThBooleanVyG3AEThBooleanVyG3AETh = UnorderedSetOfReadOnlyBytecodeExecutionK4Ht8Zdn | UnorderedSetOfReadOnlyCallm6DMxyzd | UnorderedSetOfAddressjJsnATCO | UnorderedSetOfAddressFilteraFrapw7X | UnorderedSetOfBlockIdZXK9XY8A | Slot | UnorderedSetOfDatastoreEntryInputBdlngHsZ | UnorderedSetOfSlotn0BdrHhh | UnorderedSetOfStringDoaGddGADvj0XlFa | EventFilter | ObjectOfNumberHo1ClIqDNumberHo1ClIqDTmeT75Fq | Pagination | UnorderedSetOfPrivateKeyG69QLiLP | UnorderedSetOfStringBBdNk2Kup3WUWKiM | StringUJarsTOs | UnorderedSetOfStringOGpKXaCP4RgV7KAw | UnorderedSetOfOperationInput9XcIbRG1 | ApiRequest | Integer2AHOqbcQ | UnorderedSetOfExecuteReadOnlyResponse8BobB0Br | UnorderedSetOfAddressInfoCm3Tm6FQ | UnorderedSetOfStringUJarsTOsGY6FcFnU | UnorderedSetOfBlockInfoYE0DVFoI | Block | UnorderedSetOfCliqueeS9LyMHx | UnorderedSetOfDatastoreEntryOutputgFkmXHTz | UnorderedSetOfUnorderedSetOfTransferQEyQHpyLoFgVJgXU | UnorderedSetOfEndorsementInfoeYLhCU05 | UnorderedSetOfSCOutputEventHwhiOmzE | UnorderedSetOfGraphIntervalnrFPkOrt | UnorderedSetOfOperationInfoMdPofISE | UnorderedSetOfStakerX7P278VS | NodeStatus | AlwaysFalse | UnorderedSetOfIpAddressWpGgzO6M | PubkeySig | UnorderedSetOfOperationId5TxbV4NZ | PagedVecStaker | UnorderedSetOfBlockParentxrssVm84 | Version | BlockInfo | WrappedHeader | FilledBlockInfo | Operation | BooleanVyG3AETh; +export type ExecuteReadOnlyBytecode = (ReadOnlyBytecodeExecution: UnorderedSetOfReadOnlyBytecodeExecutionK4Ht8Zdn) => Promise; +export type ExecuteReadOnlyCall = (ReadOnlyCall: UnorderedSetOfReadOnlyCallm6DMxyzd) => Promise; export type GetAddresses = (address: UnorderedSetOfAddressjJsnATCO) => Promise; export type GetAddressesBytecode = (addressFilter: UnorderedSetOfAddressFilteraFrapw7X) => Promise; export type GetBlocks = (blockId: UnorderedSetOfBlockIdZXK9XY8A) => Promise; @@ -1460,7 +1461,7 @@ export interface Options { export class MassaOpenRPCSpecification { public rpc: Client; - public static openrpcDocument: OpenRPC = {"openrpc":"1.2.4","info":{"title":"Massa OpenRPC Specification","version":"MAIN.2.1","description":"Massa OpenRPC Specification document. Find more information on https://docs.massa.net/docs/build/api/jsonrpc","termsOfService":"https://open-rpc.org","contact":{"name":"Massa Team","url":"https://massa.net","email":"info@massa.net"}},"servers":[{"name":"Massa public buildnet API","url":"https://buildnet.massa.net/api/v2","description":"Massa public buildnet url"},{"name":"Massa public testnet API","url":"https://test.massa.net/api/v2","description":"Massa public testnet url"},{"name":"Massa public mainnet API","url":"https://mainnet.massa.net/api/v2","description":"Massa public mainnet url"}],"methods":[{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"ReadOnlyBytecodeExecution","schema":{"type":"array","items":{"title":"ReadOnlyBytecodeExecution","description":"Read only bytecode execution","required":["max_gas","bytecode"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"bytecode":{"description":"Bytecode to execute","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQjNvs9b0z"},"address":{"title":"Address","description":"caller's address","type":"string"},"operation_datastore":{"description":"An operation datastore","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQtXvTMhya"},"is_final":{"description":"Whether to start execution from final or active state","type":"boolean","title":"boolean_hNwwo80P"},"coins":{"description":"Amount in coins, optional","type":"number","title":"number_z1jdLCIz"},"fee":{"description":"Fee, optional","type":"number","title":"number_snYk3vhE"}},"additionalProperties":false},"title":"unorderedSetOf_ReadOnlyBytecodeExecutionK4Ht8Zdn"}}],"result":{"schema":{"type":"array","items":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"string","title":"string_UJarsTOs"},"title":"unorderedSetOf_string_UJarsTOsgviiNMvH"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"name":"ExecuteReadOnlyResponses"},"name":"execute_read_only_bytecode","summary":"Execute a smart contract in a read only context","description":"Execute a smart contract in a read only context. The changes on the ledger will not be applied and directly drop after the context of the execution. All the events generated will be returned."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"ReadOnlyCall","schema":{"type":"array","items":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false},"title":"unorderedSetOf_ReadOnlyCallm6DMxyzd"}}],"result":{"schema":{"type":"array","items":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"string","title":"string_UJarsTOs"},"title":"unorderedSetOf_string_UJarsTOsgviiNMvH"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"name":"ExecuteReadOnlyResponses"},"name":"execute_read_only_call","summary":"Call a function of a contract in a read only context","description":"Call a function of a contract in a read only context. The changes on the ledger will not be applied and directly drop after the context of the execution. All the events generated will be returned."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"address","description":"Need to provide at least one valid address","schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressjJsnATCO"},"required":true}],"result":{"name":"AddressInfo","schema":{"type":"array","items":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false}}},"name":"get_addresses","summary":"To check when your address is selected to stake.","description":"To check when your address is selected to stake, run this command and look at the “next draws” section.\nAlso check that your balance increases, for each block or endorsement that you create you should get a small reward."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"addressFilter","description":"Need to provide at least one valid address filter","schema":{"type":"array","items":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false},"title":"unorderedSetOf_AddressFilteraFrapw7X"},"required":true}],"result":{"schema":{"type":"array","items":{"type":"string","format":"byte","title":"string_UJarsTOs"}},"name":"Addresses bytecode array"},"name":"get_addresses_bytecode","summary":"Returns the bytecode of the given addresses.","description":"Returns the bytecode of the given addresses."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"blockId","description":"Need to provide at least one valid block id","schema":{"type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdZXK9xY8A"},"summary":"string","required":true}],"result":{"schema":{"type":"array","items":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false}},"name":"BlockInfo"},"name":"get_blocks","summary":"Get blocks","description":"Get blocks."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"slot","description":"Slot of the block","schema":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"required":true}],"result":{"schema":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false},"name":"Block"},"name":"get_blockclique_block_by_slot","summary":"Get a block in the blockclique","description":"Get the block in the blockclique that is associated to the slot"},{"tags":[{"name":"public","description":"Massa public api"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false}},"name":"Cliques"},"name":"get_cliques","summary":"Get cliques","description":"Returns information about cliques."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"DatastoreEntryInputs","description":"Datastore entry input","schema":{"type":"array","items":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false},"title":"unorderedSetOf_DatastoreEntryInputBdlngHsZ"}}],"result":{"schema":{"type":"array","items":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false}},"name":"DataStoreEntryOutputs"},"name":"get_datastore_entries","summary":"Get a data entry both at the latest final and active executed slots for the given addresses.","description":"Get a data entry both at the latest final and active executed slots for the given addresses.\n\nIf an existing final entry (final_value) is found in the active history, it will return its final value in active_value field. If it was deleted in the active history, it will return null in active_value field."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"slots","description":"Precise the slots you want to gather the transfers from","schema":{"type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_Slotn0bdrHhh"},"required":true}],"result":{"name":"SlotsTransfers","schema":{"type":"array","items":{"type":"array","items":{"title":"Transfer","description":"Describe a transfer of MAS","required":["from","to","amount","effective_amount_received","context","succeed","fee","block_id"],"type":"object","properties":{"from":{"description":"Address of the sender","type":"string","title":"string_YVTrFSaQ"},"to":{"description":"Address of the receiver","type":"string","title":"string_zyWeUFZ8"},"amount":{"description":"Amount transferred","type":"integer","title":"integer_cOVAu0eq"},"effective_amount_received":{"description":"Amount received by the receiver","type":"integer","title":"integer_VC2agt39"},"context":{"description":"Context of the transfer : operation or asyncronous execution","type":"object","title":"object_0xCk2T5h"},"succeed":{"description":"True if the operation succeed otherwise false","type":"boolean","title":"boolean_yDqyb5Vp"},"fee":{"description":"Fees passed to the operation","type":"number","title":"number_V8r93Gu7"},"block_id":{"description":"ID of the block in which the operation is included","type":"string","title":"string_UyVBK2CK"}},"additionalProperties":false},"title":"unorderedSetOf_TransferQEyQHpyL"}}},"name":"get_slots_transfers","summary":"Get transfers for specified slots","description":"Get transfers for specified slots"},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"endorsementId","description":"Need to provide at least one valid endorsement id","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false}},"name":"EndorsementInfos"},"name":"get_endorsements","summary":"Get endorsements","description":"Get endorsements."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"EventFilter","schema":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false}}],"result":{"schema":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false}},"name":"SCOutputEvents"},"name":"get_filtered_sc_output_event","summary":"Returns events optionally filtered","description":"Returns events optionally filtered by: start slot, end slot, emitter address, original caller address, operation id."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"TimeInterval","schema":{"type":"object","properties":{"start":{"type":"number","title":"number_Ho1clIqD"},"end":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"title":"objectOf_number_Ho1clIqD_number_Ho1clIqD_tmeT75Fq"}}],"result":{"schema":{"type":"array","items":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false}},"name":"GraphInterval"},"name":"get_graph_interval","summary":"Get graph interval","description":"Get graph interval."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"operationId","description":"Need to provide at least one valid operation id","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false}},"name":"OperationInfos"},"name":"get_operations","summary":"Get operations","description":"Get operations."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"schema":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"name":"PageRequest"}],"result":{"schema":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"name":"PagedStakers"},"name":"get_stakers","summary":"Get stakers","description":"Returns the active stakers and their roll counts for the current cycle."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[],"result":{"name":"NodeStatus","description":"Node status","schema":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false}},"name":"get_status","summary":"Summary of the current state","description":"Summary of the current state: time, last final blocks (hash, thread, slot, timestamp), clique count, connected nodes count."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"SecretKeys","description":"The strings must be secret(private) keys","schema":{"type":"array","items":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"},"title":"unorderedSetOf_PrivateKeyG69qLiLP"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"add_staking_secret_keys","summary":"Add a vec of new secret(private) keys for the node to use to stake","description":"Add a vec of new secret keys(private) for the node to use to stake."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"}},"description":"The strings are addresses.","name":"Addresses"},"name":"get_staking_addresses","summary":"Return hashset of staking addresses","description":"Return hashset of staking addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_bootstrap_blacklist","summary":"Add to bootstrap blacklist given IP addresses","description":"Add to bootstrap blacklist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_bootstrap_whitelist","summary":"Add to bootstrap whitelist given IP addresses","description":"Add to bootstrap whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_peers_whitelist","summary":"Add to peers whitelist given IP addresses","description":"Add to peers whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"id","description":"The strings are nodes ids.","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_ban_by_id","summary":"Ban given ids","description":"Ban given ids."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings are IP addresses.","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_ban_by_ip","summary":"Ban given IP addresses","description":"Ban given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_bootstrap_blacklist","summary":"Returns bootstrap blacklist IP addresses","description":"Returns bootstrap blacklist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_bootstrap_whitelist","summary":"Returns bootstrap whitelist IP addresses","description":"Returns bootstrap whitelist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_bootstrap_whitelist_allow_all","summary":"Allow everyone to bootstrap from the node","description":"Allow everyone to bootstrap from the node. Remove bootstrap whitelist configuration file."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_peers_whitelist","summary":"Returns peers whitelist IP addresses","description":"Returns peers whitelist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_bootstrap_blacklist","summary":"Remove from bootstrap blacklist given IP addresses","description":"Remove from bootstrap blacklist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_bootstrap_whitelist","summary":"Remove from bootstrap whitelist given IP addresses","description":"Remove from bootstrap whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_peers_whitelist","summary":"Remove from peers whitelist given IP addresses","description":"Remove from peers whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_whitelist","summary":"Remove from whitelist given IP addresses","description":"Remove from whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"addresses","description":"The strings must addresses","schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressjJsnATCO"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"remove_staking_addresses","summary":"Remove a vec of addresses used to stake","description":"Remove a vec of addresses used to stake."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"message","description":"Message to be signed in byte array","schema":{"format":"byte","type":"string","title":"string_UJarsTOs"},"required":true}],"result":{"schema":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false},"name":"PubkeySig"},"name":"node_sign_message","summary":"Sign message with node’s key","description":"Sign message with node’s key."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"No return","description":"No return.","schema":false},"name":"stop_node","summary":"Gracefully stop the node","description":"Gracefully stop the node."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"id","description":"The strings are nodes ids.","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_unban_by_id","summary":"Unban given ids","description":"Unban given ids."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings are IP addresses.","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_unban_by_ip","summary":"Unban given IP addresses","description":"Unban given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"ip address","type":"string","title":"string_oGpKXaCP"},"title":"unorderedSetOf_string_oGpKXaCP4rgV7KAw"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_whitelist","summary":"Whitelist given IP addresses","description":"Whitelist given IP addresses."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"OperationInput","schema":{"type":"array","items":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInput9xcIbRG1"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"}},"name":"Operations"},"name":"send_operations","summary":"Adds operations to pool","description":"Adds operations to pool. Returns operations that were ok and sent to pool."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[{"schema":{"title":"ApiRequest","description":"ApiRequest for apiV2","type":"object","properties":{"page_request":{"title":"Pagination","description":"Optional page request","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"name":"ApiRequest","description":"Optional api request"}],"result":{"schema":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"name":"PagedVecStaker"},"name":"get_largest_stakers","summary":"Get largest stakers","description":"Returns the active stakers and their active roll counts for the current cycle sorted by largest roll counts."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"BlockParent","description":"A tuple which contains (BlockId, period)","type":"object","additionalProperties":{"type":"object","properties":{"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"period":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_number_Ho1clIqD_BlockId_HCnqqlza"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"name":"NextBlockBestParents"},"name":"get_next_block_best_parents","summary":"Get next block best parents","description":"Returns the ids of best parents for the next block to be produced along with their period"},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[],"result":{"schema":{"title":"Version","description":"Application version, checked during handshakes","type":"string"},"name":"Version","description":"Node version"},"name":"get_version","summary":"Get Massa node version","description":"Get Massa node version."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false},"name":"BlockInfo"},"name":"subscribe_new_blocks","summary":"New produced blocks","description":"New produced blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"name":"BlockHeader"},"name":"subscribe_new_blocks_headers","summary":"New produced blocks headers","description":"New produced blocks headers."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false},"name":"FilledBlockInfo"},"name":"subscribe_new_filled_blocks","summary":"New produced blocks with operations content","description":"New produced blocks with operations content."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"name":"Operation"},"name":"subscribe_new_operations","summary":"Subscribe to new operations","description":"Subscribe to new operations."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_blocks","summary":"Unsubscribe from new produced blocks","description":"Unsubscribe from new produced blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_blocks_headers","summary":"Unsubscribe from new produced blocks headers","description":"Unsubscribe from new produced blocks headers."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_filled_blocks","summary":"Unsubscribe from new produced filled blocks","description":"Unsubscribe from new produced filled blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_operations","summary":"Unsubscribe from new received operations","description":"Unsubscribe from new received operations."}],"components":{"schemas":{"Address":{"title":"Address","description":"Address","type":"string"},"AddressFilter":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false},"AddressInfo":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false},"ApiRequest":{"title":"ApiRequest","description":"ApiRequest for apiV2","type":"object","properties":{"page_request":{"title":"Pagination","description":"Optional page request","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"Balance":{"title":"Balance","required":["candidate_balance","final_balance","locked_balance"],"type":"object","properties":{"candidate_balance":{"description":"Represent an Amount in coins","type":"string"},"final_balance":{"description":"Represent an Amount in coins","type":"string"},"locked_balance":{"description":"Represent an Amount in coins","type":"string"}},"additionalProperties":false},"Block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false},"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"BlockInfo":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false},"BlockInfoContent":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false},"BlockParent":{"title":"BlockParent","description":"A tuple which contains (BlockId, period)","type":"object","additionalProperties":{"type":"object","properties":{"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"period":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_number_Ho1clIqD_BlockId_HCnqqlza"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"CallSC":{"title":"CallSC","description":"Call Smart Contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"Clique":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false},"CompactConfig":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"ConnectedNodes":{"title":"ConnectedNodes","description":"Connected nodes","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"ConsensusStats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"DataStore":{"title":"Datastore","description":"A tuple which contains (entry, bytes)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]},"DataStoreEntry":{"title":"DatastoreEntry","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","type":"string"},"final_value":{"description":"","type":"string"}},"additionalProperties":false},"DatastoreEntryInput":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false},"DataStoreEntryOutput":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false},"Denunciation":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"EndorsementDenunciation":{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},"BlockHeaderDenunciation":{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"},"Endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutionStats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"EndorsementContent":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"EndorsementDraw":{"title":"EndorsementDraw","required":["index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"integer"}},"additionalProperties":false},"EndorsementId":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"EndorsementInfo":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false},"ExecutedAt":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"ExecuteReadOnlyResponse":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"string","title":"string_UJarsTOs"},"title":"unorderedSetOf_string_UJarsTOsgviiNMvH"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false},"ExecuteSC":{"title":"ExecuteSC","description":"Execute Smart Contract","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"ExecutionAddressCycleInfo":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"EventFilter":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false},"EventId":{"title":"EventId","type":"object","additionalProperties":{"type":"object","properties":{"id":{"type":"string"},"context":{"title":"SCOEContext","required":["call_stack","index_in_slot","read_only","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean"},"call_stack":{"description":"Addresses","type":"array","items":{"type":"string"}},"index_in_slot":{"type":"number"},"origin_operation_id":{"description":"Operation id","type":"string"}},"additionalProperties":false},"data":{"type":"string"}}}},"EventExecutionContext":{"title":"EventExecutionContext","description":"Context of the event (not generated by the user)","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false},"IpAddress":{"title":"IpAddress","description":"Ipv4 or Ipv6 address","type":"string"},"FilledBlock":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false},"FilledBlockInfo":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false},"FilledBlockInfoContent":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false},"GraphInterval":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"Header":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false},"LedgerInfo":{"title":"SceLedgerInfo","required":["balance","datastore"],"type":"object","properties":{"balance":{"description":"Represent an amount","type":"string"},"module":{"description":"Stored bytecode","type":"array","items":{"type":"integer"}},"datastore":{"type":"array","items":{"title":"Datastore","description":"A tuple which contains (entry, bytes)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}}},"additionalProperties":false},"NetworkStats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"NodeStatus":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false},"Operation":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"OperationId":{"title":"OperationId","description":"Operation id","type":"string"},"OperationInfo":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"OperationInput":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false},"OperationType":{"title":"OperationType","description":"Type specific operation content.","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false},"PageRequest":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"PagedVecStaker":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"PoolStats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"PrivateKey":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"},"ProductionStat":{"title":"ProductionStat","required":["cycle","is_final","nok_count","ok_count"],"type":"object","properties":{"cycle":{"type":"integer"},"is_final":{"type":"boolean"},"nok_count":{"type":"integer"},"ok_count":{"type":"integer"}},"additionalProperties":false},"PublicKey":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"PubkeySig":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false},"ReadOnlyBytecodeExecution":{"title":"ReadOnlyBytecodeExecution","description":"Read only bytecode execution","required":["max_gas","bytecode"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"bytecode":{"description":"Bytecode to execute","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQjNvs9b0z"},"address":{"title":"Address","description":"caller's address","type":"string"},"operation_datastore":{"description":"An operation datastore","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQtXvTMhya"},"is_final":{"description":"Whether to start execution from final or active state","type":"boolean","title":"boolean_hNwwo80P"},"coins":{"description":"Amount in coins, optional","type":"number","title":"number_z1jdLCIz"},"fee":{"description":"Fee, optional","type":"number","title":"number_snYk3vhE"}},"additionalProperties":false},"ReadOnlyCall":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false},"ReadOnlyResult":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"string","title":"string_UJarsTOs"},"title":"unorderedSetOf_string_UJarsTOsgviiNMvH"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"Roll":{"title":"Roll","description":"Roll","required":["roll_count"],"type":"object","properties":{"roll_count":{"type":"integer"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollsInfo":{"title":"RollsInfo","required":["active_rolls","candidate_rolls","final_rolls"],"type":"object","properties":{"active_rolls":{"type":"integer"},"candidate_rolls":{"type":"integer"},"final_rolls":{"type":"integer"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"SCOEContext":{"title":"SCOEContext","required":["call_stack","index_in_slot","read_only","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean"},"call_stack":{"description":"Addresses","type":"array","items":{"type":"string"}},"index_in_slot":{"type":"number"},"origin_operation_id":{"description":"Operation id","type":"string"}},"additionalProperties":false},"SCOutputEvent":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"Signature":{"title":"Signature","description":"Signature generated from a message and a `KeyPair`.","type":"string"},"Slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"Staker":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"StateChanges":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false},"Transaction":{"title":"Transaction","description":"Transation","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"Transfer":{"title":"Transfer","description":"Describe a transfer of MAS","required":["from","to","amount","effective_amount_received","context","succeed","fee","block_id"],"type":"object","properties":{"from":{"description":"Address of the sender","type":"string","title":"string_YVTrFSaQ"},"to":{"description":"Address of the receiver","type":"string","title":"string_zyWeUFZ8"},"amount":{"description":"Amount transferred","type":"integer","title":"integer_cOVAu0eq"},"effective_amount_received":{"description":"Amount received by the receiver","type":"integer","title":"integer_VC2agt39"},"context":{"description":"Context of the transfer : operation or asyncronous execution","type":"object","title":"object_0xCk2T5h"},"succeed":{"description":"True if the operation succeed otherwise false","type":"boolean","title":"boolean_yDqyb5Vp"},"fee":{"description":"Fees passed to the operation","type":"number","title":"number_V8r93Gu7"},"block_id":{"description":"ID of the block in which the operation is included","type":"string","title":"string_UyVBK2CK"}},"additionalProperties":false},"Version":{"title":"Version","description":"Application version, checked during handshakes","type":"string"},"WrappedHeader":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"WrappedOperation":{"title":"WrappedOperation","description":"signed operation","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false}},"contentDescriptors":{"Address":{"name":"Address","summary":"Address","description":"A Address object","schema":{"title":"Address","description":"Address","type":"string"}},"AddressFilter":{"name":"AddressFilter","summary":"Address filter","description":"A AddressFilter object","schema":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false}},"AddressInfo":{"name":"AddressInfo","summary":"Address information","description":"A AddressInfo object","schema":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false}},"BlockId":{"name":"BlockId","summary":"BlockId","description":"A BlockId object","schema":{"title":"BlockId","description":"Block identifier","type":"string"}},"BlockInfo":{"name":"BlockInfo","summary":"BlockInfo","description":"A BlockInfo object","schema":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false}},"BlockHeader":{"name":"BlockHeader","summary":"BlockHeader","description":"A BlockHeader object","schema":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false}},"Clique":{"name":"Clique","summary":"Clique","description":"A Clique object","schema":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false}},"DataStoreEntry":{"name":"DataStoreEntry","summary":"DataStoreEntry","description":"A DataStoreEntry object","schema":{"title":"DatastoreEntry","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","type":"string"},"final_value":{"description":"","type":"string"}},"additionalProperties":false}},"DatastoreEntryInput":{"name":"DatastoreEntryInput","summary":"DatastoreEntryInput","description":"A DatastoreEntryInput object","schema":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false}},"DataStoreEntryOutput":{"name":"DataStoreEntryOutput","summary":"DataStoreEntryOutput","description":"A DataStoreEntryOutput object","schema":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false}},"EndorsementInfo":{"name":"EndorsementInfo","summary":"EndorsementInfo","description":"A EndorsementInfo object","schema":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false}},"ExecuteReadOnlyResponse":{"name":"ExecuteReadOnlyResponse","summary":"ExecuteReadOnlyResponse","description":"A ExecuteReadOnlyResponse object","schema":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"string","title":"string_UJarsTOs"},"title":"unorderedSetOf_string_UJarsTOsgviiNMvH"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"EventFilter":{"name":"EventFilter","summary":"EventFilter","description":"A EventFilter object","schema":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false}},"FilledBlockInfo":{"name":"FilledBlockInfo","summary":"FilledBlockInfo","description":"A FilledBlockInfo object","schema":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false}},"GraphInterval":{"name":"GraphInterval","summary":"GraphInterval","description":"A GraphInterval object","schema":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false}},"NodeStatus":{"name":"NodeStatus","summary":"Node status","description":"A NodeStatus object","schema":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false}},"Operation":{"name":"Operation","summary":"Operation","description":"A Operation object","schema":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}},"OperationId":{"name":"OperationId","summary":"OperationId","description":"A OperationId object","schema":{"title":"OperationId","description":"Operation id","type":"string"}},"OperationInput":{"name":"OperationInput","summary":"OperationInput","description":"A OperationInput object","schema":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false}},"OperationInfo":{"name":"OperationInfo","summary":"OperationInfo","description":"A OperationInfo object","schema":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false}},"OperationType":{"name":"OperationType","summary":"OperationType","description":"A OperationType object","schema":{"title":"OperationType","description":"Type specific operation content.","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"PagedVecStaker":{"name":"PagedVecStaker","summary":"PagedVecStaker","description":"A PagedVecStaker object","schema":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"PageRequest":{"name":"PageRequest","summary":"PageRequest","description":"An Page request parameter, which contains limit and offset properties.","schema":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"PubkeySig":{"name":"PubkeySig","summary":"PubkeySig","description":"A PubkeySig object","schema":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false}},"PrivateKey":{"name":"PrivateKey","summary":"PrivateKey","description":"A PrivateKey object","schema":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"}},"ReadOnlyCall":{"name":"ReadOnlyCall","summary":"ReadOnlyCall","description":"A ReadOnlyCall object","schema":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false}},"SCOutputEvent":{"name":"SCOutputEvent","summary":"SCOutputEvent","description":"A SCOutputEvent object","schema":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false}},"Staker":{"name":"Staker","summary":"Staker","description":"A Staker object. A tuple which contains (address, active_rolls)","schema":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"Version":{"name":"Version","summary":"Version","description":"A Version object","schema":{"title":"Version","description":"Application version, checked during handshakes","type":"string"}}}}} ; + public static openrpcDocument: OpenRPC = {"openrpc":"1.2.4","info":{"title":"Massa OpenRPC Specification","version":"MAIN.2.1","description":"Massa OpenRPC Specification document. Find more information on https://docs.massa.net/docs/build/api/jsonrpc","termsOfService":"https://open-rpc.org","contact":{"name":"Massa Team","url":"https://massa.net","email":"info@massa.net"}},"servers":[{"name":"Massa public buildnet API","url":"https://buildnet.massa.net/api/v2","description":"Massa public buildnet url"},{"name":"Massa public testnet API","url":"https://test.massa.net/api/v2","description":"Massa public testnet url"},{"name":"Massa public mainnet API","url":"https://mainnet.massa.net/api/v2","description":"Massa public mainnet url"}],"methods":[{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"ReadOnlyBytecodeExecution","schema":{"type":"array","items":{"title":"ReadOnlyBytecodeExecution","description":"Read only bytecode execution","required":["max_gas","bytecode"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"bytecode":{"description":"Bytecode to execute","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQjNvs9b0z"},"address":{"title":"Address","description":"caller's address","type":"string"},"operation_datastore":{"description":"An operation datastore","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQtXvTMhya"},"is_final":{"description":"Whether to start execution from final or active state","type":"boolean","title":"boolean_hNwwo80P"},"coins":{"description":"Amount in coins, optional","type":"number","title":"number_z1jdLCIz"},"fee":{"description":"Fee, optional","type":"number","title":"number_snYk3vhE"}},"additionalProperties":false},"title":"unorderedSetOf_ReadOnlyBytecodeExecutionK4Ht8Zdn"}}],"result":{"schema":{"type":"array","items":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"number","title":"number_ENj1NJhv"},"title":"unorderedSetOf_number_ENj1NJhvPrMsSGVf"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"name":"ExecuteReadOnlyResponses"},"name":"execute_read_only_bytecode","summary":"Execute a smart contract in a read only context","description":"Execute a smart contract in a read only context. The changes on the ledger will not be applied and directly drop after the context of the execution. All the events generated will be returned."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"ReadOnlyCall","schema":{"type":"array","items":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false},"title":"unorderedSetOf_ReadOnlyCallm6DMxyzd"}}],"result":{"schema":{"type":"array","items":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"number","title":"number_ENj1NJhv"},"title":"unorderedSetOf_number_ENj1NJhvPrMsSGVf"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"name":"ExecuteReadOnlyResponses"},"name":"execute_read_only_call","summary":"Call a function of a contract in a read only context","description":"Call a function of a contract in a read only context. The changes on the ledger will not be applied and directly drop after the context of the execution. All the events generated will be returned."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"address","description":"Need to provide at least one valid address","schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressjJsnATCO"},"required":true}],"result":{"name":"AddressInfo","schema":{"type":"array","items":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false}}},"name":"get_addresses","summary":"To check when your address is selected to stake.","description":"To check when your address is selected to stake, run this command and look at the “next draws” section.\nAlso check that your balance increases, for each block or endorsement that you create you should get a small reward."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"addressFilter","description":"Need to provide at least one valid address filter","schema":{"type":"array","items":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false},"title":"unorderedSetOf_AddressFilteraFrapw7X"},"required":true}],"result":{"schema":{"type":"array","items":{"type":"string","format":"byte","title":"string_UJarsTOs"}},"name":"Addresses bytecode array"},"name":"get_addresses_bytecode","summary":"Returns the bytecode of the given addresses.","description":"Returns the bytecode of the given addresses."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"blockId","description":"Need to provide at least one valid block id","schema":{"type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdZXK9xY8A"},"summary":"string","required":true}],"result":{"schema":{"type":"array","items":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false}},"name":"BlockInfo"},"name":"get_blocks","summary":"Get blocks","description":"Get blocks."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"slot","description":"Slot of the block","schema":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"required":true}],"result":{"schema":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false},"name":"Block"},"name":"get_blockclique_block_by_slot","summary":"Get a block in the blockclique","description":"Get the block in the blockclique that is associated to the slot"},{"tags":[{"name":"public","description":"Massa public api"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false}},"name":"Cliques"},"name":"get_cliques","summary":"Get cliques","description":"Returns information about cliques."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"DatastoreEntryInputs","description":"Datastore entry input","schema":{"type":"array","items":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false},"title":"unorderedSetOf_DatastoreEntryInputBdlngHsZ"}}],"result":{"schema":{"type":"array","items":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false}},"name":"DataStoreEntryOutputs"},"name":"get_datastore_entries","summary":"Get a data entry both at the latest final and active executed slots for the given addresses.","description":"Get a data entry both at the latest final and active executed slots for the given addresses.\n\nIf an existing final entry (final_value) is found in the active history, it will return its final value in active_value field. If it was deleted in the active history, it will return null in active_value field."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"slots","description":"Precise the slots you want to gather the transfers from","schema":{"type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_Slotn0bdrHhh"},"required":true}],"result":{"name":"SlotsTransfers","schema":{"type":"array","items":{"type":"array","items":{"title":"Transfer","description":"Describe a transfer of MAS","required":["from","to","amount","effective_amount_received","context","succeed","fee","block_id"],"type":"object","properties":{"from":{"description":"Address of the sender","type":"string","title":"string_YVTrFSaQ"},"to":{"description":"Address of the receiver","type":"string","title":"string_zyWeUFZ8"},"amount":{"description":"Amount transferred","type":"integer","title":"integer_cOVAu0eq"},"effective_amount_received":{"description":"Amount received by the receiver","type":"integer","title":"integer_VC2agt39"},"context":{"description":"Context of the transfer : operation or asyncronous execution","type":"object","title":"object_0xCk2T5h"},"succeed":{"description":"True if the operation succeed otherwise false","type":"boolean","title":"boolean_yDqyb5Vp"},"fee":{"description":"Fees passed to the operation","type":"number","title":"number_V8r93Gu7"},"block_id":{"description":"ID of the block in which the operation is included","type":"string","title":"string_UyVBK2CK"}},"additionalProperties":false},"title":"unorderedSetOf_TransferQEyQHpyL"}}},"name":"get_slots_transfers","summary":"Get transfers for specified slots","description":"Get transfers for specified slots"},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"endorsementId","description":"Need to provide at least one valid endorsement id","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false}},"name":"EndorsementInfos"},"name":"get_endorsements","summary":"Get endorsements","description":"Get endorsements."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"EventFilter","schema":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false}}],"result":{"schema":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false}},"name":"SCOutputEvents"},"name":"get_filtered_sc_output_event","summary":"Returns events optionally filtered","description":"Returns events optionally filtered by: start slot, end slot, emitter address, original caller address, operation id."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"TimeInterval","schema":{"type":"object","properties":{"start":{"type":"number","title":"number_Ho1clIqD"},"end":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"title":"objectOf_number_Ho1clIqD_number_Ho1clIqD_tmeT75Fq"}}],"result":{"schema":{"type":"array","items":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false}},"name":"GraphInterval"},"name":"get_graph_interval","summary":"Get graph interval","description":"Get graph interval."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"operationId","description":"Need to provide at least one valid operation id","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false}},"name":"OperationInfos"},"name":"get_operations","summary":"Get operations","description":"Get operations."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"schema":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"name":"PageRequest"}],"result":{"schema":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"name":"PagedStakers"},"name":"get_stakers","summary":"Get stakers","description":"Returns the active stakers and their roll counts for the current cycle."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[],"result":{"name":"NodeStatus","description":"Node status","schema":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false}},"name":"get_status","summary":"Summary of the current state","description":"Summary of the current state: time, last final blocks (hash, thread, slot, timestamp), clique count, connected nodes count."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"SecretKeys","description":"The strings must be secret(private) keys","schema":{"type":"array","items":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"},"title":"unorderedSetOf_PrivateKeyG69qLiLP"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"add_staking_secret_keys","summary":"Add a vec of new secret(private) keys for the node to use to stake","description":"Add a vec of new secret keys(private) for the node to use to stake."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"}},"description":"The strings are addresses.","name":"Addresses"},"name":"get_staking_addresses","summary":"Return hashset of staking addresses","description":"Return hashset of staking addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_bootstrap_blacklist","summary":"Add to bootstrap blacklist given IP addresses","description":"Add to bootstrap blacklist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_bootstrap_whitelist","summary":"Add to bootstrap whitelist given IP addresses","description":"Add to bootstrap whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_add_to_peers_whitelist","summary":"Add to peers whitelist given IP addresses","description":"Add to peers whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"id","description":"The strings are nodes ids.","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_ban_by_id","summary":"Ban given ids","description":"Ban given ids."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings are IP addresses.","schema":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_ban_by_ip","summary":"Ban given IP addresses","description":"Ban given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_bootstrap_blacklist","summary":"Returns bootstrap blacklist IP addresses","description":"Returns bootstrap blacklist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_bootstrap_whitelist","summary":"Returns bootstrap whitelist IP addresses","description":"Returns bootstrap whitelist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_bootstrap_whitelist_allow_all","summary":"Allow everyone to bootstrap from the node","description":"Allow everyone to bootstrap from the node. Remove bootstrap whitelist configuration file."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"title":"IpAddress","description":"Ip address","type":"string"}}},"name":"node_peers_whitelist","summary":"Returns peers whitelist IP addresses","description":"Returns peers whitelist IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_bootstrap_blacklist","summary":"Remove from bootstrap blacklist given IP addresses","description":"Remove from bootstrap blacklist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_bootstrap_whitelist","summary":"Remove from bootstrap whitelist given IP addresses","description":"Remove from bootstrap whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_peers_whitelist","summary":"Remove from peers whitelist given IP addresses","description":"Remove from peers whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_remove_from_whitelist","summary":"Remove from whitelist given IP addresses","description":"Remove from whitelist given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"addresses","description":"The strings must addresses","schema":{"type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressjJsnATCO"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"remove_staking_addresses","summary":"Remove a vec of addresses used to stake","description":"Remove a vec of addresses used to stake."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"message","description":"Message to be signed in byte array","schema":{"format":"byte","type":"string","title":"string_UJarsTOs"},"required":true}],"result":{"schema":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false},"name":"PubkeySig"},"name":"node_sign_message","summary":"Sign message with node’s key","description":"Sign message with node’s key."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[],"result":{"name":"No return","description":"No return.","schema":false},"name":"stop_node","summary":"Gracefully stop the node","description":"Gracefully stop the node."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"id","description":"The strings are nodes ids.","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_unban_by_id","summary":"Unban given ids","description":"Unban given ids."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings are IP addresses.","schema":{"type":"array","items":{"description":"Ip address","type":"string","title":"string_bBdNk2ku"},"title":"unorderedSetOf_string_bBdNk2kup3WUWKiM"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_unban_by_ip","summary":"Unban given IP addresses","description":"Unban given IP addresses."},{"tags":[{"name":"private","description":"Massa private api"}],"params":[{"name":"ip","description":"The strings must be IP addresses","schema":{"type":"array","items":{"description":"ip address","type":"string","title":"string_oGpKXaCP"},"title":"unorderedSetOf_string_oGpKXaCP4rgV7KAw"},"required":true}],"result":{"name":"No return","description":"No return.","schema":false},"name":"node_whitelist","summary":"Whitelist given IP addresses","description":"Whitelist given IP addresses."},{"tags":[{"name":"public","description":"Massa public api"}],"params":[{"name":"OperationInput","schema":{"type":"array","items":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInput9xcIbRG1"},"required":true}],"result":{"schema":{"type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"}},"name":"Operations"},"name":"send_operations","summary":"Adds operations to pool","description":"Adds operations to pool. Returns operations that were ok and sent to pool."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[{"schema":{"title":"ApiRequest","description":"ApiRequest for apiV2","type":"object","properties":{"page_request":{"title":"Pagination","description":"Optional page request","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"name":"ApiRequest","description":"Optional api request"}],"result":{"schema":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"name":"PagedVecStaker"},"name":"get_largest_stakers","summary":"Get largest stakers","description":"Returns the active stakers and their active roll counts for the current cycle sorted by largest roll counts."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[],"result":{"schema":{"type":"array","items":{"title":"BlockParent","description":"A tuple which contains (BlockId, period)","type":"object","additionalProperties":{"type":"object","properties":{"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"period":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_number_Ho1clIqD_BlockId_HCnqqlza"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"name":"NextBlockBestParents"},"name":"get_next_block_best_parents","summary":"Get next block best parents","description":"Returns the ids of best parents for the next block to be produced along with their period"},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"}],"params":[],"result":{"schema":{"title":"Version","description":"Application version, checked during handshakes","type":"string"},"name":"Version","description":"Node version"},"name":"get_version","summary":"Get Massa node version","description":"Get Massa node version."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false},"name":"BlockInfo"},"name":"subscribe_new_blocks","summary":"New produced blocks","description":"New produced blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"name":"BlockHeader"},"name":"subscribe_new_blocks_headers","summary":"New produced blocks headers","description":"New produced blocks headers."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false},"name":"FilledBlockInfo"},"name":"subscribe_new_filled_blocks","summary":"New produced blocks with operations content","description":"New produced blocks with operations content."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[],"result":{"schema":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"name":"Operation"},"name":"subscribe_new_operations","summary":"Subscribe to new operations","description":"Subscribe to new operations."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_blocks","summary":"Unsubscribe from new produced blocks","description":"Unsubscribe from new produced blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_blocks_headers","summary":"Unsubscribe from new produced blocks headers","description":"Unsubscribe from new produced blocks headers."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_filled_blocks","summary":"Unsubscribe from new produced filled blocks","description":"Unsubscribe from new produced filled blocks."},{"tags":[{"name":"api","description":"Massa api V2"},{"name":"experimental","description":"Experimental APIs. They might disappear, and they will change"},{"name":"websocket","description":"WebSocket subscription"}],"params":[{"name":"subscriptionId","description":"Subscription id","schema":{"type":"integer","title":"integer_2aHOqbcQ"},"required":true}],"result":{"schema":{"type":"boolean"},"name":"unsubscribe result","description":"unsubscribe success message"},"name":"unsubscribe_new_operations","summary":"Unsubscribe from new received operations","description":"Unsubscribe from new received operations."}],"components":{"schemas":{"Address":{"title":"Address","description":"Address","type":"string"},"AddressFilter":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false},"AddressInfo":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false},"ApiRequest":{"title":"ApiRequest","description":"ApiRequest for apiV2","type":"object","properties":{"page_request":{"title":"Pagination","description":"Optional page request","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"Balance":{"title":"Balance","required":["candidate_balance","final_balance","locked_balance"],"type":"object","properties":{"candidate_balance":{"description":"Represent an Amount in coins","type":"string"},"final_balance":{"description":"Represent an Amount in coins","type":"string"},"locked_balance":{"description":"Represent an Amount in coins","type":"string"}},"additionalProperties":false},"Block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false},"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"BlockInfo":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false},"BlockInfoContent":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false},"BlockParent":{"title":"BlockParent","description":"A tuple which contains (BlockId, period)","type":"object","additionalProperties":{"type":"object","properties":{"BlockId":{"title":"BlockId","description":"Block identifier","type":"string"},"period":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_number_Ho1clIqD_BlockId_HCnqqlza"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"CallSC":{"title":"CallSC","description":"Call Smart Contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"Clique":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false},"CompactConfig":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"ConnectedNodes":{"title":"ConnectedNodes","description":"Connected nodes","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"ConsensusStats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"DataStore":{"title":"Datastore","description":"A tuple which contains (entry, bytes)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]},"DataStoreEntry":{"title":"DatastoreEntry","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","type":"string"},"final_value":{"description":"","type":"string"}},"additionalProperties":false},"DatastoreEntryInput":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false},"DataStoreEntryOutput":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false},"Denunciation":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"EndorsementDenunciation":{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},"BlockHeaderDenunciation":{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"},"Endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutionStats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"EndorsementContent":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"EndorsementDraw":{"title":"EndorsementDraw","required":["index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"integer"}},"additionalProperties":false},"EndorsementId":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"EndorsementInfo":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false},"ExecutedAt":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"ExecuteReadOnlyResponse":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"number","title":"number_ENj1NJhv"},"title":"unorderedSetOf_number_ENj1NJhvPrMsSGVf"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false},"ExecuteSC":{"title":"ExecuteSC","description":"Execute Smart Contract","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"ExecutionAddressCycleInfo":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"EventFilter":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false},"EventId":{"title":"EventId","type":"object","additionalProperties":{"type":"object","properties":{"id":{"type":"string"},"context":{"title":"SCOEContext","required":["call_stack","index_in_slot","read_only","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean"},"call_stack":{"description":"Addresses","type":"array","items":{"type":"string"}},"index_in_slot":{"type":"number"},"origin_operation_id":{"description":"Operation id","type":"string"}},"additionalProperties":false},"data":{"type":"string"}}}},"EventExecutionContext":{"title":"EventExecutionContext","description":"Context of the event (not generated by the user)","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false},"IpAddress":{"title":"IpAddress","description":"Ipv4 or Ipv6 address","type":"string"},"FilledBlock":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false},"FilledBlockInfo":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false},"FilledBlockInfoContent":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false},"GraphInterval":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"Header":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false},"LedgerInfo":{"title":"SceLedgerInfo","required":["balance","datastore"],"type":"object","properties":{"balance":{"description":"Represent an amount","type":"string"},"module":{"description":"Stored bytecode","type":"array","items":{"type":"integer"}},"datastore":{"type":"array","items":{"title":"Datastore","description":"A tuple which contains (entry, bytes)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}}},"additionalProperties":false},"NetworkStats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"NodeStatus":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false},"Operation":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"OperationId":{"title":"OperationId","description":"Operation id","type":"string"},"OperationInfo":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"OperationInput":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false},"OperationType":{"title":"OperationType","description":"Type specific operation content.","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false},"PageRequest":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"PagedVecStaker":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"PoolStats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"PrivateKey":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"},"ProductionStat":{"title":"ProductionStat","required":["cycle","is_final","nok_count","ok_count"],"type":"object","properties":{"cycle":{"type":"integer"},"is_final":{"type":"boolean"},"nok_count":{"type":"integer"},"ok_count":{"type":"integer"}},"additionalProperties":false},"PublicKey":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"PubkeySig":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false},"ReadOnlyBytecodeExecution":{"title":"ReadOnlyBytecodeExecution","description":"Read only bytecode execution","required":["max_gas","bytecode"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"bytecode":{"description":"Bytecode to execute","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQjNvs9b0z"},"address":{"title":"Address","description":"caller's address","type":"string"},"operation_datastore":{"description":"An operation datastore","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQtXvTMhya"},"is_final":{"description":"Whether to start execution from final or active state","type":"boolean","title":"boolean_hNwwo80P"},"coins":{"description":"Amount in coins, optional","type":"number","title":"number_z1jdLCIz"},"fee":{"description":"Fee, optional","type":"number","title":"number_snYk3vhE"}},"additionalProperties":false},"ReadOnlyCall":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false},"ReadOnlyResult":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"number","title":"number_ENj1NJhv"},"title":"unorderedSetOf_number_ENj1NJhvPrMsSGVf"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"Roll":{"title":"Roll","description":"Roll","required":["roll_count"],"type":"object","properties":{"roll_count":{"type":"integer"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollsInfo":{"title":"RollsInfo","required":["active_rolls","candidate_rolls","final_rolls"],"type":"object","properties":{"active_rolls":{"type":"integer"},"candidate_rolls":{"type":"integer"},"final_rolls":{"type":"integer"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"SCOEContext":{"title":"SCOEContext","required":["call_stack","index_in_slot","read_only","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean"},"call_stack":{"description":"Addresses","type":"array","items":{"type":"string"}},"index_in_slot":{"type":"number"},"origin_operation_id":{"description":"Operation id","type":"string"}},"additionalProperties":false},"SCOutputEvent":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"Signature":{"title":"Signature","description":"Signature generated from a message and a `KeyPair`.","type":"string"},"Slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"Staker":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"StateChanges":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false},"Transaction":{"title":"Transaction","description":"Transation","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"Transfer":{"title":"Transfer","description":"Describe a transfer of MAS","required":["from","to","amount","effective_amount_received","context","succeed","fee","block_id"],"type":"object","properties":{"from":{"description":"Address of the sender","type":"string","title":"string_YVTrFSaQ"},"to":{"description":"Address of the receiver","type":"string","title":"string_zyWeUFZ8"},"amount":{"description":"Amount transferred","type":"integer","title":"integer_cOVAu0eq"},"effective_amount_received":{"description":"Amount received by the receiver","type":"integer","title":"integer_VC2agt39"},"context":{"description":"Context of the transfer : operation or asyncronous execution","type":"object","title":"object_0xCk2T5h"},"succeed":{"description":"True if the operation succeed otherwise false","type":"boolean","title":"boolean_yDqyb5Vp"},"fee":{"description":"Fees passed to the operation","type":"number","title":"number_V8r93Gu7"},"block_id":{"description":"ID of the block in which the operation is included","type":"string","title":"string_UyVBK2CK"}},"additionalProperties":false},"Version":{"title":"Version","description":"Application version, checked during handshakes","type":"string"},"WrappedHeader":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"WrappedOperation":{"title":"WrappedOperation","description":"signed operation","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false}},"contentDescriptors":{"Address":{"name":"Address","summary":"Address","description":"A Address object","schema":{"title":"Address","description":"Address","type":"string"}},"AddressFilter":{"name":"AddressFilter","summary":"Address filter","description":"A AddressFilter object","schema":{"title":"AddressFilter","description":"Address filter","type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"is_final":{"type":"boolean","description":"true means final, false means candidate","title":"boolean_7xei3MDX"}},"additionalProperties":false}},"AddressInfo":{"name":"AddressInfo","summary":"Address information","description":"A AddressInfo object","schema":{"title":"AddressInfo","required":["address","thread","final_balance","final_roll_count","final_datastore_keys","candidate_balance","candidate_roll_count","candidate_datastore_keys","deferred_credits","next_block_draws","next_endorsement_draws","created_blocks","created_operations","created_endorsements","cycle_infos"],"type":"object","properties":{"address":{"title":"Address","description":"The address","type":"string"},"thread":{"description":"The thread the address belongs to","type":"number","title":"number_sYJcvZVm"},"final_balance":{"description":"The final balance","type":"string","title":"string_FFlpWNJb"},"final_roll_count":{"description":"The final roll count","type":"number","title":"number_PAAsFK4n"},"final_datastore_keys":{"description":"The final datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfIixaMtvV"},"candidate_balance":{"description":"The candidate balance","type":"string","title":"string_sZbUM3UB"},"candidate_roll_count":{"description":"The candidate roll count","type":"number","title":"number_Uycrgn8X"},"candidate_datastore_keys":{"description":"The candidate datastore keys","type":"array","items":{"type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDAokMKuEf"},"title":"unorderedSetOf_unorderedSetOf_number_Ho1clIqDAokMKuEfmvpf11Qe"},"deferred_credits":{"description":"The deferred credits","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"amount":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_Slot_string_doaGddGA_qZyvCcRS"},"minItems":0,"title":"unorderedSetOf_objectOf_Slot_string_doaGddGA_qZyvCcRS732d8Bc5"},"next_block_draws":{"description":"The next block draws","type":"array","items":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"title":"unorderedSetOf_SlotpnXhUhWs"},"next_endorsement_draws":{"description":"The next endorsement draws","type":"array","items":{"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Slot_number_Ho1clIqD_MPMjgxrm"},"title":"unorderedSetOf_objectOf_Slot_number_Ho1clIqD_MPMjgxrm06ae306q"},"created_blocks":{"description":"BlockIds of created blocks","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"minItems":0,"title":"unorderedSetOf_BlockIdpdDCfi0P"},"created_operations":{"description":"OperationIds of created operations","type":"array","items":{"title":"OperationId","description":"Operation id","type":"string"},"minItems":0,"title":"unorderedSetOf_OperationId971EzIER"},"created_endorsements":{"description":"EndorsementIds of created endorsements","type":"array","items":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"minItems":0,"title":"unorderedSetOf_EndorsementIdNN27ZC1J"},"cycle_infos":{"description":"Cycle infos","type":"array","items":{"title":"ExecutionAddressCycleInfo","required":["cycle","is_final","ok_count","nok_count"],"type":"object","properties":{"cycle":{"type":"number","title":"number_Ho1clIqD"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"ok_count":{"type":"number","title":"number_Ho1clIqD"},"nok_count":{"type":"number","title":"number_Ho1clIqD"},"active_rolls":{"oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_KWtQwzS8"}},"additionalProperties":false},"title":"unorderedSetOf_ExecutionAddressCycleInfo8d3STgcL"}},"additionalProperties":false}},"BlockId":{"name":"BlockId","summary":"BlockId","description":"A BlockId object","schema":{"title":"BlockId","description":"Block identifier","type":"string"}},"BlockInfo":{"name":"BlockInfo","summary":"BlockInfo","description":"A BlockInfo object","schema":{"title":"BlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"BlockInfoContent","required":["block","is_final","is_in_blockclique","is_candidate"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_candidate":{"description":"true if candidate","type":"boolean","title":"boolean_mazVJcyf"},"is_discarded":{"description":"true if discarded","type":"boolean","title":"boolean_HJvzO9WE"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"Block","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAucaTsQyS"}},"additionalProperties":false,"description":"block"}},"additionalProperties":false}},"additionalProperties":false}},"BlockHeader":{"name":"BlockHeader","summary":"BlockHeader","description":"A BlockHeader object","schema":{"title":"WrappedHeader","description":"signed operation","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false}},"Clique":{"name":"Clique","summary":"Clique","description":"A Clique object","schema":{"title":"Clique","description":"Clique","required":["block_ids","is_blockclique","fitness"],"type":"object","properties":{"block_ids":{"description":"The block ids of the blocks in that clique","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId1v6i15AQ"},"fitness":{"description":"Depends on descendants and endorsement count","type":"number","title":"number_7BVjpZ2Z"},"is_blockclique":{"description":"True if it is the clique of higher fitness","type":"boolean","title":"boolean_xIboFXzF"}},"additionalProperties":false}},"DataStoreEntry":{"name":"DataStoreEntry","summary":"DataStoreEntry","description":"A DataStoreEntry object","schema":{"title":"DatastoreEntry","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","type":"string"},"final_value":{"description":"","type":"string"}},"additionalProperties":false}},"DatastoreEntryInput":{"name":"DatastoreEntryInput","summary":"DatastoreEntryInput","description":"A DatastoreEntryInput object","schema":{"title":"DatastoreEntryInput","description":"","required":["address","key"],"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"key":{"description":"","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQBha3UJIJ"}},"additionalProperties":false}},"DataStoreEntryOutput":{"name":"DataStoreEntryOutput","summary":"DataStoreEntryOutput","description":"A DataStoreEntryOutput object","schema":{"title":"DatastoreEntryOutput","description":"Datastore entry","type":"object","properties":{"candidate_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"},"final_value":{"description":"","oneOf":[{"type":"string","title":"string_doaGddGA"},{"type":"null","title":"null_Qu0Arl1F"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_uBejLf7q"}},"additionalProperties":false}},"EndorsementInfo":{"name":"EndorsementInfo","summary":"EndorsementInfo","description":"A EndorsementInfo object","schema":{"title":"EndorsementInfo","description":"Endorsement info","required":["endorsement","id","in_blocks","in_pool","is_final"],"type":"object","properties":{"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"in_pool":{"type":"boolean","title":"boolean_vyG3AETh"},"in_blocks":{"description":"Block Id","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockId7G1Sy5Qv"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"endorsement":{"title":"Endorsement","description":"Endorsement","required":["content","content_creator_pub_key","signature"],"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"},"signature":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false}},"additionalProperties":false}},"ExecuteReadOnlyResponse":{"name":"ExecuteReadOnlyResponse","summary":"ExecuteReadOnlyResponse","description":"A ExecuteReadOnlyResponse object","schema":{"title":"ExecuteReadOnlyResponse","required":["executed_at","output_events","result","gas_cost","state_changes"],"type":"object","properties":{"executed_at":{"title":"ExecuteAt","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"result":{"title":"ReadOnlyResult","description":"The result of a read-only execution","type":"object","properties":{"Ok":{"description":"Included in case of success. The result of the execution","type":"array","items":{"format":"byte","type":"number","title":"number_ENj1NJhv"},"title":"unorderedSetOf_number_ENj1NJhvPrMsSGVf"},"Error":{"description":"Included in case of error. The error message","type":"string","title":"string_oz2F8z2Y"}},"additionalProperties":false},"output_events":{"type":"array","items":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false},"title":"unorderedSetOf_SCOutputEventHwhiOmzE"},"gas_cost":{"description":"The gas cost for the execution","type":"number","title":"number_aIaYfWME"},"state_changes":{"title":"StateChanges","required":["async_pool_changes","executed_ops_changes","ledger_changes","pos_changes","executed_denunciations_changes","execution_trail_hash_change"],"type":"object","properties":{"ledger_changes":{"description":"ledger changes","type":"object","title":"object_D93z4fAG"},"async_pool_changes":{"description":"async pool changes","type":"array","items":{"type":"object","title":"object_HAgrRKSz"},"title":"unorderedSetOf_object_HAgrRKSz46QV1tyv"},"pos_changes":{"description":"pos changes","type":"object","title":"object_YWuwfL0b"},"executed_ops_changes":{"description":"executed operations changes","type":"object","title":"object_TK16EAH4"},"executed_denunciations_changes":{"description":"executed denunciation changes","type":"object","title":"object_413CQ8L2"},"execution_trail_hash_change":{"description":"execution trail hash change","type":"string","title":"string_IytPJwYq"}},"additionalProperties":false}},"additionalProperties":false}},"EventFilter":{"name":"EventFilter","summary":"EventFilter","description":"A EventFilter object","schema":{"title":"EventFilter","description":"Event filter","required":[],"type":"object","properties":{"start":{"title":"Slot","description":"Optional start slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"end":{"title":"Slot","description":"Optional end slot\nWill use by default Slot(0,0)","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"emitter_address":{"description":"Optional emitter address","type":"string","title":"string_5J7nQ8B1"},"original_caller_address":{"description":"Optional caller address","type":"string","title":"string_cc6xlKeq"},"original_operation_id":{"description":"Optional operation id","type":"string","title":"string_UcQL9QGN"},"is_final":{"description":"Optional filter to filter only candidate or final events","type":"boolean","title":"boolean_obf9wMA0"},"is_error":{"description":"Optional filter to retrieve events generated in a failed execution","type":"boolean","title":"boolean_aXlyTrPe"}},"additionalProperties":false}},"FilledBlockInfo":{"name":"FilledBlockInfo","summary":"FilledBlockInfo","description":"A FilledBlockInfo object","schema":{"title":"FilledBlockInfo","required":["id"],"type":"object","properties":{"id":{"type":"string","title":"string_doaGddGA"},"content":{"title":"FilledBlockInfoContent","required":["block","is_final","is_in_blockclique","is_stale"],"type":"object","properties":{"is_final":{"description":"true if final","type":"boolean","title":"boolean_ZxUVUy6m"},"is_stale":{"description":"true if incompatible with a final block","type":"boolean","title":"boolean_4XbLtRCK"},"is_in_blockclique":{"description":"true if in the greatest clique","type":"boolean","title":"boolean_HjqkwJfo"},"block":{"title":"FilledBlock","required":["header","operations"],"type":"object","properties":{"header":{"title":"WrappedHeader","description":"signed header","required":["content","signature","content_creator_pub_key","content_creator_address"],"type":"object","properties":{"content":{"title":"Header","required":["operation_merkle_root","parents","slot"],"type":"object","properties":{"current_version":{"description":"Current version","type":"number","title":"number_TbrodUsH"},"announced_version":{"description":"Announced version","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_4U4gpKJM"},"operation_merkle_root":{"type":"string","title":"string_doaGddGA"},"parents":{"type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGADvj0xlFa"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"endorsements":{"description":"Endorsements","type":"array","items":{"type":"object","properties":{"content":{"title":"EndorsementContent","description":"Endorsement content","required":["endorsed_block","index","slot"],"type":"object","properties":{"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"index":{"type":"number","title":"number_Ho1clIqD"},"endorsed_block":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"signature":{"type":"string","title":"string_doaGddGA"},"content_creator_pub_key":{"title":"PublicKey","description":"Public key used to check if a message was encoded by the corresponding `PublicKey`.\nGenerated from the `KeyPair` using `SignatureEngine`","type":"string"},"content_creator_address":{"title":"Address","description":"Address","type":"string"},"id":{"title":"EndorsementId","description":"Endorsement id","type":"string"}},"title":"objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM6"},"title":"unorderedSetOf_objectOf_string_doaGddGA_EndorsementId_PublicKey_Address_EndorsementContent_Qm34huM62M5VcL0d"},"denunciations":{"description":"Denunciations","type":"array","items":{"oneOf":[{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"index":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7"},{"type":"object","properties":{"public_key":{"type":"string","title":"string_doaGddGA"},"slot":{"type":"integer","title":"integer_2aHOqbcQ"},"hash_1":{"type":"string","title":"string_doaGddGA"},"hash_2":{"type":"string","title":"string_doaGddGA"},"signature_1":{"type":"string","title":"string_doaGddGA"},"signature_2":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon"}],"title":"oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnw"},"minItems":0,"title":"unorderedSetOf_oneOf_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_ayHztuA7_objectOf_integer_2aHOqbcQ_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_string_doaGddGA_GD2xRxon_2GptXxnwLKxyS0DP"}},"additionalProperties":false,"description":"header type"},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"BlockId","description":"Block identifier","type":"string"}},"additionalProperties":false},"operations":{"description":"Operations","type":"array","items":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false},"title":"unorderedSetOf_OperationInfoUJLiVJVG"}},"additionalProperties":false,"description":"filled block"}},"additionalProperties":false}},"additionalProperties":false}},"GraphInterval":{"name":"GraphInterval","summary":"GraphInterval","description":"A GraphInterval object","schema":{"title":"GraphInterval","required":["creator","id","is_final","is_in_blockclique","is_stale","parents","slot"],"type":"object","properties":{"creator":{"description":"Public key","type":"string","title":"string_vuVvWRdT"},"id":{"description":"Block Id","type":"string","title":"string_u8LlHDu1"},"is_final":{"type":"boolean","title":"boolean_vyG3AETh"},"is_in_blockclique":{"type":"boolean","title":"boolean_vyG3AETh"},"is_stale":{"type":"boolean","title":"boolean_vyG3AETh"},"parents":{"description":"As many block Ids as there are threads","type":"array","items":{"type":"string","title":"string_doaGddGA"},"title":"unorderedSetOf_string_doaGddGAMZnHm9WS"},"slot":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false}},"NodeStatus":{"name":"NodeStatus","summary":"Node status","description":"A NodeStatus object","schema":{"title":"NodeStatus","description":"Node status","required":["config","connected_nodes","consensus_stats","current_cycle","current_time","current_cycle_time","next_cycle_time","network_stats","next_slot","node_id","pool_stats","version","execution_stats","chain_id"],"type":"object","properties":{"config":{"title":"Config","description":"Compact configuration","required":["block_reward","delta_f0","genesis_timestamp","operation_validity_periods","periods_per_cycle","roll_price","t0","thread_count","execution_stats"],"type":"object","properties":{"block_reward":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"delta_f0":{"description":"Used to compute finality threshold","type":"number","title":"number_2A9FvvYh"},"end_timestamp":{"description":"(Only in tesnets)\nTime in milliseconds when the blockclique started.","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"number","title":"number_Ho1clIqD"}],"title":"oneOf_null_Qu0Arl1F_number_Ho1clIqD_xysINzQy"},"genesis_timestamp":{"description":"Time in milliseconds when the blockclique started.","type":"number","title":"number_sgfzurLm"},"max_block_size":{"description":"Maximum size (in bytes) of a block","type":"number","title":"number_uwkWWxaa"},"operation_validity_periods":{"description":"Maximum operation validity period count","type":"number","title":"number_ts6cn6jQ"},"periods_per_cycle":{"description":"cycle duration in periods","type":"number","title":"number_grsxxfaH"},"roll_price":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"t0":{"description":"Time between the periods in the same thread.","type":"number","title":"number_8imKBhpQ"},"thread_count":{"description":"Number of threads","type":"number","title":"number_axwlzLso"}},"additionalProperties":false},"connected_nodes":{"title":"ConnectedNodes","description":"Connected nodes (node id, ip address, true if the connection is outgoing, false if incoming)","type":"object","additionalProperties":{"type":"object","properties":{"node_id":{"type":"string","title":"string_doaGddGA"},"ip_address":{"type":"string","title":"string_doaGddGA"}},"title":"objectOf_string_doaGddGA_string_doaGddGA_xJdFCZe6"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"String","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"String"}},"consensus_stats":{"title":"ConsensusStats","description":"Consensus stats","required":["clique_count","end_timespan","final_block_count","stale_block_count","start_timespan"],"type":"object","properties":{"clique_count":{"type":"number","title":"number_Ho1clIqD"},"end_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"},"final_block_count":{"type":"number","title":"number_Ho1clIqD"},"stale_block_count":{"type":"number","title":"number_Ho1clIqD"},"start_timespan":{"description":"Stats time interval, millis since 1970-01-01","type":"number","title":"number_LpoULYcx"}},"additionalProperties":false},"current_cycle":{"description":"Current cycle","type":"number","title":"number_sWFW9I8Z"},"current_time":{"description":"Time in milliseconds since 1970-01-01","type":"number","title":"number_yQZ1vVuw"},"current_cycle_time":{"description":"current cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_QuWRP8Oa"},"next_cycle_time":{"description":"next cycle starting time in milliseconds since 1970-01-01","type":"number","title":"number_SDEXjSo6"},"last_slot":{"title":"Slot","description":"Latest slot, none if now is before genesis timestamp","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"network_stats":{"title":"NetworkStats","description":"Network stats","required":["active_node_count","banned_peer_count","in_connection_count","known_peer_count","out_connection_count"],"type":"object","properties":{"active_node_count":{"description":"Active node count","type":"number","title":"number_Wc2yJi2H"},"banned_peer_count":{"description":"Banned node count","type":"number","title":"number_Zdt4Udf4"},"in_connection_count":{"description":"In connections count","type":"number","title":"number_LgEVA2Rp"},"known_peer_count":{"description":"Total known peers count","type":"number","title":"number_nw53IytE"},"out_connection_count":{"description":"Out connections count","type":"number","title":"number_XuleKeT9"}},"additionalProperties":false},"next_slot":{"title":"Slot","description":"Next slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"node_id":{"description":"Our node id","type":"string","title":"string_OFgZzVe7"},"node_ip":{"description":"Optional node ip if provided","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_nsst9HIR"},"pool_stats":{"title":"PoolStats","description":"Pool stats","type":"array","items":{"type":"number","title":"number_Ho1clIqD"}},"version":{"title":"Version","description":"Node Version","type":"string"},"execution_stats":{"title":"ExecutionStats","description":"Execution stats","required":["time_window_start","time_window_end","final_block_count","final_executed_operations_count","active_cursor","final_cursor"],"type":"object","properties":{"time_window_start":{"description":"Time window start","type":"number","title":"number_dk8ZmyGi"},"time_window_end":{"description":"Time window end","type":"number","title":"number_wbCeho3i"},"final_block_count":{"description":"number of final blocks in the time window","type":"number","title":"number_GCfSuERd"},"final_executed_operations_count":{"description":"number of final executed operations in the time window","type":"number","title":"number_j4dz6p30"},"active_cursor":{"title":"Slot","description":"Slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false,"descritpion":"active execution cursor slot"},"final_cursor":{"title":"Slot","description":"final execution cursor slot","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"additionalProperties":false},"chain_id":{"description":"Chain id","type":"number","title":"number_Bte4oVdF"},"minimal_fees":{"description":"Minimal fee","type":"string","title":"string_tXHumHoA"}},"additionalProperties":false}},"Operation":{"name":"Operation","summary":"Operation","description":"A Operation object","schema":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}},"OperationId":{"name":"OperationId","summary":"OperationId","description":"A OperationId object","schema":{"title":"OperationId","description":"Operation id","type":"string"}},"OperationInput":{"name":"OperationInput","summary":"OperationInput","description":"A OperationInput object","schema":{"title":"OperationInput","description":"Operation input","required":["creator_public_key","signature","serialized_content"],"type":"object","properties":{"creator_public_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"signature":{"title":"Signature","description":"The signature of the operation","type":"string"},"serialized_content":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"additionalProperties":false}},"OperationInfo":{"name":"OperationInfo","summary":"OperationInfo","description":"A OperationInfo object","schema":{"title":"OperationInfo","description":"Operation info","required":["id","in_blocks","in_pool","is_operation_final","thread","operation"],"type":"object","properties":{"id":{"description":"Operation id","type":"string","title":"string_YTemzr68"},"in_blocks":{"description":"Block ids\nThe operation appears in `in_blocks`\nIf it appears in multiple blocks, these blocks are in different cliques","type":"array","items":{"title":"BlockId","description":"Block identifier","type":"string"},"title":"unorderedSetOf_BlockIdyEy9dvpn"},"in_pool":{"description":"True if operation is still in pool","type":"boolean","title":"boolean_SJ3tNusg"},"is_operation_final":{"description":"True if the operation is final (for example in a final block)","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_cuqCzoUJ"},"thread":{"description":"Thread in which the operation can be included","type":"number","title":"number_ZoWtBk8U"},"operation":{"title":"WrappedOperation","description":"The operation itself","required":["content","signature","creator_public_key","creator_address"],"type":"object","properties":{"content":{"title":"Operation","description":"Operation","required":["fee","expire_period","op"],"type":"object","properties":{"fee":{"description":"the fee they have decided for this operation","type":"string","title":"string_v3754zDT"},"expire_period":{"description":"after `expire_period` slot the operation won't be included in a block","type":"number","title":"number_SbfeGjn7"},"op":{"title":"OperationType","description":"the type specific operation part","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"signature":{"title":"Signature","description":"signature","type":"string"},"content_creator_pub_key":{"title":"PublicKey","description":"the content creator public key","type":"string"},"content_creator_address":{"title":"Address","description":"the content creator address","type":"string"},"id":{"title":"OperationId","description":"Operation id","type":"string"}},"additionalProperties":false},"op_exec_status":{"description":"true if the operation execution succeeded, false if failed, None means unknown","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"boolean","title":"boolean_vyG3AETh"}],"title":"oneOf_boolean_vyG3AETh_null_Qu0Arl1F_E3Qax0Os"}},"additionalProperties":false}},"OperationType":{"name":"OperationType","summary":"OperationType","description":"A OperationType object","schema":{"title":"OperationType","description":"Type specific operation content.","type":"object","properties":{"Transaction":{"title":"Transaction","description":"transfer coins from sender to recipient","required":["amount","recipient_address"],"type":"object","properties":{"amount":{"description":"Represent an Amount in coins","type":"string","title":"string_NIrlyE1J"},"recipient_address":{"type":"string","title":"string_doaGddGA"}},"additionalProperties":false},"ExecutSC":{"title":"ExecuteSC","description":"Execute a smart contract.","required":["data","max_gas","datastore"],"type":"object","properties":{"data":{"description":"Vec of bytes to execute","type":"array","items":{"type":"number","title":"number_Ho1clIqD"},"title":"unorderedSetOf_number_Ho1clIqDd5w02PgX"},"max_gas":{"description":"Maximum amount of gas that the execution of the contract is allowed to cost.","type":"number","title":"number_QUXtpAPK"},"datastore":{"title":"Datastore","description":"A tuple which contains (key, value)","type":"object","additionalProperties":{"type":"object","properties":{"entry":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"},"bytes":{"type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQarZIQlOy"}},"title":"objectOf_unorderedSetOf_integer_2aHOqbcQarZIQlOy_unorderedSetOf_integer_2aHOqbcQarZIQlOy_DbxIogvI"},"example":[[1,2,3,4],[5,6,7,9,10]]}},"additionalProperties":false},"CallSC":{"title":"CallSC","description":"Calls an exported function from a stored smart contract","required":["max_gas","param","coins","target_addr","target_func"],"type":"object","properties":{"target_addr":{"title":"Address","description":"Address","type":"string"},"target_func":{"description":"Function name","type":"string","title":"string_7HCIMJir"},"param":{"description":"Parameter to pass to the function","type":"string","title":"string_sjIor0mV"},"max_gas":{"type":"number","title":"number_Ho1clIqD"},"coins":{"description":"Amount","type":"number","title":"number_5mo1hId6"}},"additionalProperties":false},"RollBuy":{"title":"RollBuy","description":"the sender buys `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false},"RollSell":{"title":"RollSell","description":"the sender sells `roll_count` rolls. Roll price is defined in configuration","required":["roll_count"],"type":"object","properties":{"roll_count":{"description":"roll count","type":"number","title":"number_jdJmnq9D"}},"additionalProperties":false}},"additionalProperties":false}},"PagedVecStaker":{"name":"PagedVecStaker","summary":"PagedVecStaker","description":"A PagedVecStaker object","schema":{"title":"PagedVecStaker","description":"PagedVec of stakers for apiV2","type":"object","properties":{"content":{"type":"array","items":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}},"title":"unorderedSetOf_StakerX7P278vS"},"total_count":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"PageRequest":{"name":"PageRequest","summary":"PageRequest","description":"An Page request parameter, which contains limit and offset properties.","schema":{"title":"Pagination","description":"An PageRequest object, which contains limit (max elements par page) and a page offset.","type":"object","required":["limit","offset"],"properties":{"limit":{"type":"number","title":"number_Ho1clIqD"},"offset":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false}},"PubkeySig":{"name":"PubkeySig","summary":"PubkeySig","description":"A PubkeySig object","schema":{"title":"PubkeySig","description":"Public key and a signature it has produced used for serialization/deserialization purpose","required":["public_key","signature"],"type":"object","properties":{"public_key":{"description":"public key","type":"string","title":"string_TPMT1Yxd"},"signature":{"description":"signature","type":"string","title":"string_XHbmHEWh"}},"additionalProperties":false}},"PrivateKey":{"name":"PrivateKey","summary":"PrivateKey","description":"A PrivateKey object","schema":{"title":"PrivateKey","description":"`PrivateKey` is used for signature and decryption","type":"string"}},"ReadOnlyCall":{"name":"ReadOnlyCall","summary":"ReadOnlyCall","description":"A ReadOnlyCall object","schema":{"title":"ReadOnlyCall","description":"Read only call","required":["max_gas","target_address","target_function","parameter","caller_address","coins","fee"],"type":"object","properties":{"max_gas":{"description":"Max available gas","type":"number","title":"number_Psns2WbD"},"target_address":{"description":"Target address","type":"string","title":"string_YvGZTlwQ"},"target_function":{"description":"Target function","type":"string","title":"string_BtBJC5iw"},"parameter":{"description":"Function parameter","type":"array","items":{"type":"integer","title":"integer_2aHOqbcQ"},"title":"unorderedSetOf_integer_2aHOqbcQzYHdsLoW"},"caller_address":{"description":"Caller's address, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_HzYKhN99"},"coins":{"description":"Amount in coins, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_EUSQB1KK"},"fee":{"description":"Fee, optional","oneOf":[{"type":"null","title":"null_Qu0Arl1F"},{"type":"string","title":"string_doaGddGA"}],"title":"oneOf_null_Qu0Arl1F_string_doaGddGA_NOhzhrxe"}},"additionalProperties":false}},"SCOutputEvent":{"name":"SCOutputEvent","summary":"SCOutputEvent","description":"A SCOutputEvent object","schema":{"title":"SCOutputEvent","required":["context","data"],"type":"object","properties":{"data":{"description":"String of the event you sended","type":"string","title":"string_Bt9L6T1F"},"context":{"title":"EventExecutionContext","description":"Context generated by the execution context","required":["call_stack","index_in_slot","read_only","slot","is_final"],"type":"object","properties":{"slot":{"title":"Slot","description":"When was it generated","required":["period","thread"],"type":"object","properties":{"period":{"type":"number","title":"number_Ho1clIqD"},"thread":{"type":"number","title":"number_Ho1clIqD"}},"additionalProperties":false},"block":{"title":"BlockId","description":"Block Id","type":"string"},"read_only":{"description":"Wether the event was generated during read only call","type":"boolean","title":"boolean_qYH7IQYB"},"call_stack":{"description":"Addresses, most recent at the end","type":"array","items":{"title":"Address","description":"Address","type":"string"},"title":"unorderedSetOf_AddressqhKJr2Tw"},"index_in_slot":{"description":"Index of the event in the slot","type":"number","title":"number_HGt16B6Y"},"origin_operation_id":{"title":"OperationId","description":"Origin operation id","type":"string"},"is_final":{"description":"Whether the event is final","type":"boolean","title":"boolean_SPcYqJj2"},"is_error":{"description":"Whether the event was generated in a failed executed or not","type":"boolean","title":"boolean_IqtEc7r0"}},"additionalProperties":false}},"additionalProperties":false}},"Staker":{"name":"Staker","summary":"Staker","description":"A Staker object. A tuple which contains (address, active_rolls)","schema":{"title":"Staker","description":"A tuple which contains (address, active_rolls)","type":"object","additionalProperties":{"type":"object","properties":{"address":{"title":"Address","description":"Address","type":"string"},"active_rolls":{"type":"number","title":"number_Ho1clIqD"}},"title":"objectOf_Address_number_Ho1clIqD_FbgdJFtJ"},"example":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1":"Number","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2":"Number"}}},"Version":{"name":"Version","summary":"Version","description":"A Version object","schema":{"title":"Version","description":"Application version, checked during handshakes","type":"string"}}}}} ; public transport: HTTPTransport | WebSocketTransport | PostMessageWindowTransport | PostMessageIframeTransport; private validator: MethodCallValidator; private timeout: number | undefined;