selfSignedAccessToken
POST
JSON-RPC selfSignedAccessTokenProtocol Details
ProtocolJSON-RPC
TransportHTTP POST
MethodselfSignedAccessToken
Parameters1
Resultobject
Inputs
params
Shapeobject
RequiredclientId, clientSecret, networkId
networkIdstringrequiredclientIdstringrequiredclientSecretstringrequiredOutputs
Related Schemas
params
params
networkIdstringrequiredclientIdstringrequiredclientSecretstringrequiredresult
result
accessTokenstringrequiredHistory
Updated
1.10.0params updated: params
Added
1.4.0cURL
cURL
curl \
<JSON_RPC_URL> \
-H 'content-type: application/json' \
--data @- <<'EOF'
{
"jsonrpc": "2.0",
"id": 1,
"method": "selfSignedAccessToken",
"params": {
"params": {
"networkId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>"
}
}
}
EOF
Resultapplication/json
Result
{
"accessToken": "<string>"
}