# IMQRPCRequest interface · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Wire format of a remote call, produced by a client and consumed by a service.

**Signature:**

```typescript
export interface IMQRPCRequest extends JsonObject 
```
**Extends:** JsonObject

## Remarks

`from`, `method` and `args` are always present; `metadata` is absent — not `null` — when the caller passed none. The whole structure is JSON-serialized, so any `undefined` inside it is dropped in transit.

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [args](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest.args/) |  | any\[\] | Positional arguments for the method, applied in order. |
| [from](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest.from/) |  | string | Name of the caller's own queue — the call's reply address. |
| [metadata?](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest.metadata/) |  | [IMQMetadata](https://imqueue.org/api/rpc/latest/rpc.imqmetadata/) | _(Optional)_ Optional metadata attached by the caller. |
| [method](https://imqueue.org/api/rpc/latest/rpc.imqrpcrequest.method/) |  | string | Name of the service method to invoke. |

