Skip to main content

sendZkapp

function sendZkapp(
json: string,
graphqlEndpoint: string,
__namedParameters: {
"timeout": defaultTimeout;
}): Promise<[undefined, FetchError] | [FetchResponse<SendZkAppResponse>, undefined]>

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

Parameters

json: string

graphqlEndpoint: string= networkConfig.minaEndpoint

__namedParameters= {}

__namedParameters.timeout: undefined | number= defaultTimeout

Returns

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

Source

lib/mina/fetch.ts:618