relay

Relays a signed ContractParametersContext to the network and returns the transaction hash.

Parameters

1. context (required)

ContractParametersContext

The signed transaction context to relay.

Returns

Promise<UInt256>

The relayed transaction hash.

Errors

Code
Name
Description

10002

INVALID

The context payload is invalid.

10005

TIMEOUT

The relay request timed out.

10006

CANCELED

The user rejected the relay request.

10007

INSUFFICIENT_FUNDS

The transaction cannot be relayed because the balance is insufficient.

10008

RPC_ERROR

The RPC server returned an error.

Example

Request

Response

最后更新于