Skip to main content
Version: 2.15.0

sendZkapp

function sendZkapp(
json: string,
graphqlEndpoint?: string,
__namedParameters?: FetchConfig): Promise<
| [undefined, FetchError]
| [FetchResponse<SendZkAppResponse>, undefined]>;

Defined in: lib/mina/v1/fetch.ts:802

Sends a zkApp command (transaction) to the specified GraphQL endpoint.

Parameters​

json​

string

graphqlEndpoint?​

string = networkConfig.minaEndpoint

__namedParameters?​

FetchConfig = {}

Returns​

Promise< | [undefined, FetchError] | [FetchResponse<SendZkAppResponse>, undefined]>