Skip to content

Instrument methods: grant

The Instrument Verbs grant as typed SDK methods, with inputs, result, refusals and an example.

Reference for Instrument, one group of Instrument methods.

Instrument.grant

Grant gives a Holder an option from the pool, with its strike price, vesting schedule and cliff. Verb page.

TypeScript
interface InstrumentVerbs {
  grant(input: InstrumentGrantInput, options?: SB.CallOptions): SB.Call<Instrument>
}

Emits Instrument.granted.

Inputs

InputTypeRequiredDescription
holderHolderrequiredThe Holder who receives the option, usually a Worker.
quantityintegerrequiredThe Shares the option covers.
strikemoneyrequiredThe exercise price, at or above the latest fair market value.
vestingjsonrequiredThe schedule and cliff.

Returns

OutputTypeRequiredDescription
instrumentInstrumentrequiredThe granted option.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.
A strike below the latest 409A fair market valuerefusedClear what the check names, then call it again.None.

Example

TypeScript
import { $ } from 'startup-builder'

const instrument = await $.Instrument.grant({ holder: 'holder_e2Dm5Y6QGO', quantity: 1, strike: { amount: 29, currency: 'USD' }, vesting: {} })