- useMpSend(): ((opCode: number, payload: string | Uint8Array, retries?: number) => Promise<void>)
Returns ((opCode: number, payload: string | Uint8Array, retries?: number) => Promise<void>)
- (opCode, payload, retries?): Promise<void>
Parameters
- opCode: number
- payload: string | Uint8Array
- retries: number = 1
Returns Promise<void>