This POST request will create a GlobalParameter resource and the first GlobalParameterValue
resource. Global Parameters can be referenced in any Smart Contracts deployed to your
instance of Vault.
Classification | Confidential 17 ©2023 Thought Machine
You’ll set the id within the global parameter so that Smart Contracts can retrieve the values
for this global parameter. The parameter will include a display_name and description (ie.
what the parameter is) along with a definition of a shape. A global parameter can have a
definition of number, str, denomination or date. See the documentation hub for the structure.
The initial_value should be what you want the initial value of the GlobalParameterValue
to be. Should you want to change this, you will make a POST request to
global-parameter-values to append a new GlobalParameterValue to the Vault Core database.
Request body: