You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get outputs. Binary request version of [get_output_distribution](#get_output_distribution).
1917
+
1918
+
Alias: *None*.
1919
+
1920
+
Inputs:
1921
+
1922
+
**credits* - unsigned int; If payment for RPC is enabled, the number of credits available to the requesting client. Otherwise, 0.
1923
+
**top_hash* - string; If payment for RPC is enabled, the hash of the highest block in the chain. Otherwise, empty.
1924
+
**amounts* - array of unsigned int; amounts to look for
1925
+
**cumulative* - boolean; (optional, default is `false`) States if the result should be cumulative (`true`) or not (`false`)
1926
+
**from_height* - unsigned int; (optional, default is 0) starting height to check from
1927
+
**to_height* - unsigned int; (optional, default is 0) ending height to check up to
1928
+
**binary* - boolean; (optional, default is `true`); Must be `true`.
1929
+
**compress* - unsigned int; (optional, default is `false`) Respond with compressed data.
1930
+
1931
+
Outputs:
1932
+
1933
+
**credits* - unsigned int; If payment for RPC is enabled, the number of credits available to the requesting client. Otherwise, 0.
1934
+
**distributions* - array of structure distribution as follows:
1935
+
**amount* - unsigned int
1936
+
**base* - unsigned int
1937
+
**binary* - boolean; Always `true`.
1938
+
**compress* - unsigned int; `true` if compressed data, `false` otherwise.
1939
+
**distribution* - array of unsigned int; This field exists instead of *compressed_data* if the *compress* option was not used.
1940
+
**compressed_data* - array of unsigned int; This field exists instead of *distribution* if the *compress* option was used.
1941
+
**start_height* - unsigned int
1942
+
**status* - string; General RPC error code. "OK" means everything looks good.
1943
+
**top_hash* - string; If payment for RPC is enabled, the hash of the highest block in the chain. Otherwise, empty.
1944
+
**untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced and thus handles the RPC locally (`false`)
**credits* - unsigned int; If payment for RPC is enabled, the number of credits available to the requesting client. Otherwise, 0.
3127
+
**status* - string; General RPC error code. "OK" means everything looks good.
3128
+
**top_hash* - string; If payment for RPC is enabled, the hash of the highest block in the chain. Otherwise, empty.
3129
+
**tx_hashes* - array of strings; This is an array of transaction hashes in hexadecimal string form.
3130
+
**untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced and thus handles the RPC locally (`false`)
**gray* - boolean; (Optional; defaults to `false`) Include gray peers.
3156
+
**white* - boolean; (Optional; defaults to `true`) Include white peers.
3157
+
**include_blocked* - boolean; (Optional; defaults to `false`) Include blocked peers.
3158
+
3159
+
Outputs:
3160
+
3161
+
**status* - string; General RPC error code. "OK" means everything looks good.
3162
+
**whites* - array of `public_node` structures defined as follows:
3163
+
**host* - string; The node's IP address. This includes IPv4, IPv6, Onion, and i2p addresses.
3164
+
**last_seen* - unsigned int; UNIX timestamp of the last time the node was seen.
3165
+
**rpc_credits_per_hash* - unsigned int; If payment for RPC is enabled, the number of credits the node is requesting per hash. Otherwise, 0.
3166
+
**rpc_port* - unsigned int; RPC port number of the node.
3167
+
**gray* - array of `public_node` structures; This is an array structures containing node information on gray peers. See *white* above.
3168
+
**untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced and thus handles the RPC locally (`false`)
0 commit comments