# DIDComm Forward Messages ```javascript= const message = { ... } const packedMessage = agent.packDIDCommMessage(message, ...) const forwardMessage = { ... ... packedMessage ...} const packedForwardMessage = agent.packDIDCommMessage(forwardMessage, ...) ``` ``` { "type": "https://didcomm.org/routing/2.0/forward", "to": ["did:example:mediator-2"], "expires_time": 1516385931, "body":{ "next": "did:example:mediator-1", "payloads~attach": [ JWE( { "type": "https://didcomm.org/routing/2.0/forward", "to": ["did:example:mediator-1"], "expires_time": 1516385931, "body":{ "next" : "did:foo:1234abcd", "payloads~attach": [ ... JSON serialized JWE ] } } ) ] } } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up