Get the start of a grant
GET
/api/user/me/session-keys/issued-at
const url = 'https://example.com/api/user/me/session-keys/issued-at';const options = { method: 'GET', headers: { 'INF-ACCESS-KEY': '<INF-ACCESS-KEY>', 'INF-ACCESS-TIMESTAMP': '<INF-ACCESS-TIMESTAMP>', 'INF-ACCESS-SIGNATURE': '<INF-ACCESS-SIGNATURE>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/user/me/session-keys/issued-at \ --header 'INF-ACCESS-KEY: <INF-ACCESS-KEY>' \ --header 'INF-ACCESS-SIGNATURE: <INF-ACCESS-SIGNATURE>' \ --header 'INF-ACCESS-TIMESTAMP: <INF-ACCESS-TIMESTAMP>'The exchange’s time now, as issued_at_ms, and an issued_at_token that proves the exchange gave it to your account. Sign issued_at_ms in a wallet grant and send both with the key to POST /me/session-keys within 10 minutes.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
GrantIssuedAt
object
issued_at_ms
required
Issued At Ms
integer
issued_at_token
required
Issued At Token
string
Examplegenerated
{ "issued_at_ms": 1, "issued_at_token": "example"}