mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-03 02:41:41 +00:00
8 lines
284 B
TypeScript
8 lines
284 B
TypeScript
import { Fluence } from '@fluencelabs/fluence';
|
|
import { getTwoResults } from '../compiled/examples/foldJoin';
|
|
|
|
export async function foldJoinCall(): Promise<number[]> {
|
|
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
|
return await getTwoResults(relayPeerId);
|
|
}
|