Skip to content

Latest commit

History

History
46 lines (30 loc) 路 1.87 KB

AccountsApi.md

File metadata and controls

46 lines (30 loc) 路 1.87 KB

{{classname}}

All URIs are relative to https://rest-canary.onflow.org/v1/

Method HTTP request Description
AccountsAddressGet Get /accounts/{address} Get an Account By Address

AccountsAddressGet

Account AccountsAddressGet(ctx, address, optional) Get an Account By Address

Get an account data by provided address in latest "sealed" block or by provided block height.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
address string The address of the account.
optional *AccountsApiAccountsAddressGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a AccountsApiAccountsAddressGetOpts struct

Name Type Description Notes

blockHeight | optional.Interface of BlockHeight| The block height to query for the account details at the "sealed" is used by default. | expand | optional.Interface of []string| A comma-separated list indicating which properties of the content to expand. | select_ | optional.Interface of []string| A comma-separated list indicating which properties of the content to return. |

Return type

Account

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]