For convenience, clients can find the Authorization Header under Account Details in the Account Portal and use it to send transactions and check account quota.
Parameter | Description |
| RPC username in case gateway was started with |
| RPC password in case gateway was started with |
Parameter | Description |
| Account ID received when registering the account |
| Secret hash received when registering the account |
Authorization header construction code example in Python:
import base64base64.b64encode(f"{rpc_user}:{rpc_password}".encode("utf-8")).decode("utf-8")
Authorization header construction code example in Python:
import base64base64.b64encode(f"{account_id}:{secret_hash}".encode("utf-8")).decode("utf-8")
Authorization header is not required for gateway started without --rpc-user
and --rpc-password
.
Result Field | Description |
| Your authorization header. |
MDM0ZmYwMGEtNmRkNy00YmEyLThlY2MtY2IzYjJjYjA1ODhlOjBkYTkyZmY0YmMzODA0MzRlZTY4YWY1N2I1OTU0ZmQ4
NzQ4NGJmNzktYzgxMy00NDNkLTljOWQtMDY5MGRlZWFlODNhOjFjNzEzYTMwNDlhMTM4YjE5YzVhNjhkOWUyY2U4MjZm