final rpc builder