Skip to main content

Overview

Gets essential attributes needed for getting the Trust Provider to accept token creation contracts.

HTTP request

POST /Agent/Tokens/GetCreationAttributes

Authentication

Requires a valid JWT bearer token.

Request (JSON)

{
}

Response (JSON)

{
	"currency":Required(Str(PCurrency)),
	"commission":Required(Double(PCommission)),
	"trustProvider":Required(Str(PTrustProvider))
}

Response parameters

ParameterDescription
PCurrencyDefault currency used by the broker.
PCommissionMinimum acceptable commission (in percent) for the Trust Provider to accept and sign the token creation contract.
PTrustProviderID of Legal Identity that is to sign the constract as Trust Provider. For the Neuron to act as Trust Provider in the token creation, this ID needs to correspond to the current Legal Identity of the Neuron.

Notes

This endpoint uses the request schema notation described in Pattern matching.