mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-30 16:11:54 +00:00
8 lines
298 B
TypeScript
8 lines
298 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, {ttl: 16000});
|
|
}
|