Function createCrossChainMessageContext
- createCrossChainMessageContext(params: {
ccm?: CCMsg;
chainID?: Buffer;
contextStore?: Map<string, unknown>;
eventQueue?: EventQueue;
feeAddress?: Buffer;
header?: {
height: number;
timestamp: number;
};
logger?: Logger;
sendingChainID?: Buffer;
stateStore?: StateStore;
transaction?: {
fee: bigint;
params: Buffer;
senderAddress: Buffer;
};
}): CrossChainMessageContext
-
Parameters
-
params: {
ccm?: CCMsg;
chainID?: Buffer;
contextStore?: Map<string, unknown>;
eventQueue?: EventQueue;
feeAddress?: Buffer;
header?: {
height: number;
timestamp: number;
};
logger?: Logger;
sendingChainID?: Buffer;
stateStore?: StateStore;
transaction?: {
fee: bigint;
params: Buffer;
senderAddress: Buffer;
};
}
-
Optional
ccm?: CCMsg
-
Optional
chainID?: Buffer
-
Optional
contextStore?: Map<string, unknown>
-
Optional
eventQueue?: EventQueue
-
Optional
feeAddress?: Buffer
-
Optional
header?: {
height: number;
timestamp: number;
}
-
height: number
-
timestamp: number
-
Optional
logger?: Logger
-
Optional
sendingChainID?: Buffer
-
Optional
stateStore?: StateStore
-
Optional
transaction?: {
fee: bigint;
params: Buffer;
senderAddress: Buffer;
}
-
fee: bigint
-
params: Buffer
-
senderAddress: Buffer