API reference
MarkdownSource ↗

RPC Hooks

RPC Hooks in Bitsocial React Hooks. Usage, options, and examples.

usePkcRpcSettings(): {pkcRpcSettings: {pkcOptions, challenges}, setPkcRpcSettings: Function}

Community edits preserve challenge publicOptions arrays, remote community records expose their published option values, and usePkcRpcSettings exposes each installed challenge’s optionInputs metadata so clients can build challenge-specific configuration without hooks knowing each challenge schema.