sign

Signs a ContractParametersContext with the current wallet.

This method is usually used in multi-signature workflows.

Parameters

1. context (required)

ContractParametersContext

Returns

Promise<ContractParametersContext>

The same context object with one or more signatures added.

Errors

Code
Name
Description

10001

UNSUPPORTED

The wallet does not support this operation.

10002

INVALID

The context payload is invalid.

10003

NOTFOUND

The signing account cannot be found in the wallet.

10005

TIMEOUT

The signing request timed out.

10006

CANCELED

The user rejected the signature request.

Example

Request

Response

最后更新于