Table of Contents

Class RpcResponse<T>

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents a response from an RPC call.

public class RpcResponse<T>

Type Parameters

T

The type of the result.

Inheritance
RpcResponse<T>
Inherited Members

Properties

Error

Gets or sets the error details if the RPC call fails.

[JsonProperty("error")]
public RpcError Error { get; set; }

Property Value

RpcError

Id

Gets or sets the ID of the RPC request.

[JsonProperty("id")]
public int Id { get; set; }

Property Value

int

Jsonrpc

Gets or sets the JSON-RPC version.

[JsonProperty("jsonrpc")]
public string Jsonrpc { get; set; }

Property Value

string

Result

Gets or sets the result of the RPC call.

[JsonProperty("result")]
public T Result { get; set; }

Property Value

T