Skip to main content

MintGridTokenInput

Narrow the app token you hold to one grid (DN-10 grid-scoped token).

input MintGridTokenInput {
appId: BigInt!
gridId: BigInt!
ttlSeconds: Int
}

Fields​

MintGridTokenInput.appId ● BigInt! non-null scalar​

The app; must be the calling app token’s app.

MintGridTokenInput.gridId ● BigInt! non-null scalar​

The grid to confine the token to. The caller must own it or hold its run_client_code permission.

MintGridTokenInput.ttlSeconds ● Int scalar​

Lifetime in seconds (60-3600, default 900). Never outlives the app token it was minted from.

Member Of​

mintGridToken mutation